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

courselib_testcase::test_reorder_sections is failing sporadically

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4
    • Fix Version/s: 2.3.3
    • Component/s: Unit tests
    • Labels:

      Description

      We have seen this test fail maybe 4/5 times on the integration server (out of 1000's of runs) and Tim has just seen it fail on the nightly build server.

      The error is:

      courselib_testcase::test_reorder_sections
      Failed asserting that 7 matches expected '6'.
       
      /var/lib/jenkins/git_repositories/MOODLE_23_STABLE/course/tests/courselib_test.php:47
      /var/lib/jenkins/git_repositories/MOODLE_23_STABLE/lib/phpunit/classes/advanced_testcase.php:76

      We should investigate the cause.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            poltawski Dan Poltawski
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Tim Barker
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Nov/12