In TaskQueueTest::PostDelayedAfterDesctruct increase timeout
from 2x expected time to 10x. To decrease flakiness for task queue implemntations that destroy tasks after destruction of the task queue. Bug: chromium:1000531 Change-Id: Ieb37ff782ead585e0aa2c84472e3993107c5c072 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/152830 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29204}
This commit is contained in:
parent
c1c6284cd1
commit
2c6ea52369
@ -139,7 +139,7 @@ TEST_P(TaskQueueTest, PostDelayedAfterDestruct) {
|
||||
// Destroy the queue.
|
||||
queue = nullptr;
|
||||
// Task might outlive the TaskQueue, but still should be deleted.
|
||||
EXPECT_TRUE(deleted.Wait(200));
|
||||
EXPECT_TRUE(deleted.Wait(1000));
|
||||
EXPECT_FALSE(run.Wait(0)); // and should not run.
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user