diff options
| author | 2024-12-30 13:34:03 -0800 | |
|---|---|---|
| committer | 2024-12-30 13:34:03 -0800 | |
| commit | 54e5f257a93b411d8ecd91c9b3dd03ff1c39ec32 (patch) | |
| tree | 2f32aa8a9a6be7e2cf80f8bec104cfb5ce168f96 | |
| parent | 7e6edf5c583853939df59898faea0ac5590d9090 (diff) | |
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
| -rw-r--r-- | libs/binder/tests/binderUtilsHostTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/tests/binderUtilsHostTest.cpp b/libs/binder/tests/binderUtilsHostTest.cpp index a62ad96be1..ca70b6644b 100644 --- a/libs/binder/tests/binderUtilsHostTest.cpp +++ b/libs/binder/tests/binderUtilsHostTest.cpp @@ -89,8 +89,8 @@ TEST(UtilsHost, ExecuteLongRunning2) { } // ~CommandResult() called, child process is killed. - // Assert that the second sleep does not finish. - EXPECT_LT(millisSince(start), 6000); + // Assert that the last sleep does not finish. + EXPECT_LT(millisSince(start), 8000); } TEST(UtilsHost, KillWithSigKill) { |