Skip to content

Commit c08e471

Browse files
author
Yu-Ting Tseng
committed
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
1 parent 357c2ed commit c08e471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/binder/tests/binderLibTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2261,7 +2261,7 @@ class BinderLibTestService : public BBinder {
22612261
if (ret != NO_ERROR) {
22622262
return ret;
22632263
}
2264-
auto event = frozenStateChangeCallback->events.popWithTimeout(10ms);
2264+
auto event = frozenStateChangeCallback->events.popWithTimeout(1000ms);
22652265
if (!event.has_value()) {
22662266
return NOT_ENOUGH_DATA;
22672267
}

0 commit comments

Comments
 (0)