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

Random core_course_externallib_testcase phpunit failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.7
    • 3.7
    • Unit tests

      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.

            dobedobedoh Andrew Lyons
            stronk7 Eloy Lafuente (stronk7)
            Shamim Rezaie Shamim Rezaie
            Adrian Greeve Adrian Greeve
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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