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

Random phpunit fail test_groups_get_all_groups_for_courses_with_courses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Groups
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-59748-master-2

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17