diff options
author | 2024-10-10 17:51:44 -0700 | |
---|---|---|
committer | 2024-10-11 11:06:52 -0700 | |
commit | c08e4710aa027e31243ed6dcf539d50b71b3ea7d (patch) | |
tree | 476b40d4564c3f26f4f20133f74a0c1109f9af9d | |
parent | 357c2ed35dce4aeefb3bfbd36d312a6c7fbc9af6 (diff) |
Fix binderLibTest flakiness
Increase the timeout waiting for the initial frozen state notification
from 10ms to 1000ms.
Test: atest binderLibTest
Bug: 370284472
Flag: TEST_ONLY
Change-Id: I65264994dec6fa98deab26a536906d14ef37f18a
-rw-r--r-- | libs/binder/tests/binderLibTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/tests/binderLibTest.cpp b/libs/binder/tests/binderLibTest.cpp index bcab6decca..ec2f50ca16 100644 --- a/libs/binder/tests/binderLibTest.cpp +++ b/libs/binder/tests/binderLibTest.cpp @@ -2261,7 +2261,7 @@ public: if (ret != NO_ERROR) { return ret; } - auto event = frozenStateChangeCallback->events.popWithTimeout(10ms); + auto event = frozenStateChangeCallback->events.popWithTimeout(1000ms); if (!event.has_value()) { return NOT_ENOUGH_DATA; } |