Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59748

Random phpunit fail test_groups_get_all_groups_for_courses_with_courses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.4
    • 3.4
    • Groups
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59748-master-2
    • Hide
      1. Open lib/tests/grouplib_test.php, find the test_groups_get_all_groups_for_courses_with_courses function, and place a sleep between the creation of groups, and the assignment of group members
      2. Run the test
        1. Confirm a distinct lack of failures
      Show
      Open lib/tests/grouplib_test.php , find the test_groups_get_all_groups_for_courses_with_courses function, and place a sleep between the creation of groups, and the assignment of group members Run the test Confirm a distinct lack of failures

      Time: 25.76 minutes, Memory: 458.00MB
       
      There was 1 failure:
       
      1) core_grouplib_testcase::test_groups_get_all_groups_for_courses_with_courses
      Failed asserting that 1502128598 equals 1502128597 for property timemodified
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'1502128597'
      +'1502128598'
       
      /var/www/html/moodle/lib/tests/grouplib_test.php:1623
      /var/www/html/moodle/lib/tests/grouplib_test.php:1694
      /var/www/html/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit core_grouplib_testcase lib/tests/grouplib_test.php
      

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Adrian Greeve Adrian Greeve
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jake Dallimore Jake Dallimore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.