-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
17
In rare circumstances it's possible for the clock to go backwards on some platforms such as windows, but this test expects a date generated before a 2 millisecond sleep and a date generated after that sleep to be in order.
This test is trying to test the behavior of the $max operator when working with dates. We should avoid relying on a stable clock in this test and instead construct two dates which are definitively in order.