Chromium Code Reviews
DescriptionFixed flaky StunRequestTests which depended on the wall clock
StunRequestTests were using the real time clock to measure fairly large
retransmit intervals (up to several seconds). This was making the tests
slow and flaky when the system was heavily loaded.
See https://build.chromium.org/p/client.webrtc/builders/Win64%20Release/builds/9274/steps/rtc_unittests/logs/stdio
for an example of a recent failure.
This change makes the tests use a simulated clock instead. They are now
very quick, precise and reliable.
R=honghaiz@webrtc.org, zhihuang@webrtc.org
Committed: https://chromium.googlesource.com/external/webrtc/+/b9d8d10d429150dfac0128cb20355b3abc86d406
Patch Set 1 #Patch Set 2 : Removed the no-longer-needed constant #
Total comments: 2
Patch Set 3 : Used SIMULATED_WAIT as advised by honghaiz@ #
Total comments: 1
Patch Set 4 : Rebase #Messages
Total messages: 17 (9 generated)
|