diff options
| author | 2024-11-07 05:17:20 +0000 | |
|---|---|---|
| committer | 2024-11-07 05:17:20 +0000 | |
| commit | c50727b165f96d20df16cebc34cd03051b0b3629 (patch) | |
| tree | c416ad3cbfaba3fbc0af0bf2facc57d901d654a5 | |
| parent | e57dca0191097d5d2b521ff617e3527e1cfed9c3 (diff) | |
binderUtilsHostTest: increase timeout to reduce flake
Flaking 0.16% of the time.
Change-Id: Ib36943efc6dba3b7f38b432c1d5b49b33d27c4b5
Fixes: 377571547
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 6301c74842..a62ad96be1 100644 --- a/libs/binder/tests/binderUtilsHostTest.cpp +++ b/libs/binder/tests/binderUtilsHostTest.cpp @@ -56,7 +56,7 @@ TEST(UtilsHost, ExecuteLongRunning) { }); auto elapsedMs = millisSince(start); EXPECT_GE(elapsedMs, 1000); - EXPECT_LT(elapsedMs, 2000); + EXPECT_LT(elapsedMs, 3000); // b/377571547: higher to reduce flake ASSERT_TRUE(result.has_value()); EXPECT_EQ(std::nullopt, result->exitCode); @@ -65,7 +65,7 @@ TEST(UtilsHost, ExecuteLongRunning) { // ~CommandResult() called, child process is killed. // Assert that the second sleep does not finish. - EXPECT_LT(millisSince(start), 2000); + EXPECT_LT(millisSince(start), 3000); } TEST(UtilsHost, ExecuteLongRunning2) { |