-
Bug
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
w43_
MDL-42414_m26_rev -
-
2
-
BACKEND Sprint 6
This is a follow-up of MDL-41935 that is already integrated and tested.
A new random failure has been reported recently:
core_datalib_testcase::test_increment_revision_number
|
Failed asserting that '1381999791' is equal to 1381999792 or is greater than 1381999792.
|
|
/var/lib/jenkins/git_repositories/master/lib/tests/datalib_test.php:335
|
/var/lib/jenkins/git_repositories/master/lib/phpunit/classes/advanced_testcase.php:80
|
This is about to fix those assertions by using the new assertTimeCurrent() or, at least, move the time() calls to early in the test, so random second jumps don't happen in the middle.
- has been marked as being related by
-
MDL-41935 Prevent false-positive failures due to time differences
-
- Closed
-