Closed 12wrigja closed 2 years ago
@pipobscure any insight here? @ptomato recommended I ask you about this.
After some more investigation, this might be due to some weird side-effects going on with an experimental test environment I'm trying out to make running the Test262 tests run faster.
The content of that 262 test:
In some cases, the value of
nowAfter
is beforeseconds
and the second assertion is failing.As far as I can tell, this is likely due to the code for SystemUTCEpochNanoSeconds that attempts to ensure that the returned value here is always incrementing.
I don't know of a straightforward way to repro this using the OSS testing setup, as it only appears to be a problem infrequently and only when the code is run very quickly (e.g. putting the code in the debugger causes enough time to pass that the tests pass).