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

Random core_course_externallib_testcase phpunit failures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 3.7
    • Component/s: Unit tests
    • Labels:

      Description

      We have got this failure at least twice in the last weeks:

      There was 1 failure:
       
      1) core_course_externallib_testcase::test_get_course_contents_contentsinfo
      Failed asserting that 1553606284 is equal to 1553606285 or is greater than 1553606285.
       
      /var/www/html/course/tests/externallib_test.php:1305
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit --verbose "core_course_externallib_testcase" course/tests/externallib_test.php
      

      Seems to be some random timing (slow execution in oracle) thing, tracing it. Now.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Peer reviewer:
              Shamim Rezaie
              Integrator:
              Adrian Greeve
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/May/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 1 minute
                  1h 1m