Repository navigation
[net_unittests] Add 1µs delay for cookie timestamps - #5216
Conversation
|
@kaidokert where do we stand on filtering tests vs making changes to upstream files? This change doesn't seem like a good idea IMO |
Thanks for the feedback. I'd like to add that this test can potentially fail on other high-performance platforms as well, due to rapid execution, not just on Xbox. |
Couple of comments on this
As is, i would land this to remove the flakiness source. |
2e3f243 to
6c3d42b
Compare
b/219056504 Inserted a 1 microsecond delay in tests to ensure that cookies get distinct LastUpdateDate timestamps. This prevents operations from occurring in the same timestamp unit in high-performance environments, which could cause the test to fail.
6c3d42b to
0ab9ae6
Compare
b/219056504
Inserted a 1 microsecond delay in tests to ensure that cookies get distinct LastUpdateDate timestamps. This prevents operations from occurring in the same timestamp unit in high-performance environments, which could cause the test to fail.