Relax the PostDelayed expectations a little more to address flakiness.
BUG=6610
TBR=stefan@webrtc.org
NOTRY=true
Review-Url: https://codereview.webrtc.org/2505083002
Cr-Commit-Position: refs/heads/master@{#15106}
diff --git a/webrtc/base/task_queue_unittest.cc b/webrtc/base/task_queue_unittest.cc
index 5fac62d..08123d0 100644
--- a/webrtc/base/task_queue_unittest.cc
+++ b/webrtc/base/task_queue_unittest.cc
@@ -101,10 +101,10 @@
EXPECT_TRUE(event.Wait(1000));
uint32_t end = Time();
// These tests are a little relaxed due to how "powerful" our test bots can
- // be. Most recently we've seen windows bots fire the callback after 99ms,
+ // be. Most recently we've seen windows bots fire the callback after 94-99ms,
// which is why we have a little bit of leeway backwards as well.
- EXPECT_GE(end - start, 95u);
- EXPECT_NEAR(end - start, 195u, 100u); // Accept 95-295.
+ EXPECT_GE(end - start, 90u);
+ EXPECT_NEAR(end - start, 190u, 100u); // Accept 90-290.
}
TEST(TaskQueueTest, PostMultipleDelayed) {