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

False-positive unit test failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.6
    • Unit tests
    • MOODLE_26_STABLE

      I encountered the following fail while running unit tests in the latest master...

      2) core_setuplib_testcase::test_localcachedir
      Time is lower that allowed start value
      Failed asserting that 1383549254 is equal to 1383549255 or is greater than 13835
      49255.
       
      D:\xampp\htdocs\master_integration\lib\phpunit\classes\advanced_testcase.php:365
       
      D:\xampp\htdocs\master_integration\lib\tests\setuplib_test.php:162
      D:\xampp\htdocs\master_integration\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       \xampp\php\phpunit core_setuplib_testcase lib\tests\setuplib_test.php
      

      This was previously reported by quen in MDL-41935, but it doesn't seem to have been fixed as part of that issue.

            Unassigned Unassigned
            salvetore Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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