Skip to content

Commit 54e5f25

Browse files
author
Steven Moreland
committed
binderUtilsHostTest: prevent flake
When the child process here takes too long to shutdown, but not 100s that the final sleep takes, this is flaking. Change-Id: Ic9d5d9020a7abbd37824afc94106cb4b5704163c Fixes: 383262768 Test: N/A
1 parent 7e6edf5 commit 54e5f25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libs/binder/tests/binderUtilsHostTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ TEST(UtilsHost, ExecuteLongRunning2) {
8989
}
9090

9191
// ~CommandResult() called, child process is killed.
92-
// Assert that the second sleep does not finish.
93-
EXPECT_LT(millisSince(start), 6000);
92+
// Assert that the last sleep does not finish.
93+
EXPECT_LT(millisSince(start), 8000);
9494
}
9595

9696
TEST(UtilsHost, KillWithSigKill) {

0 commit comments

Comments
 (0)