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

False-positive unit test failure

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.6
    • None
    • Unit tests
    • MOODLE_26_STABLE

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: