Skip to content

Commit 2fa957a

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "binderUtilsHostTest: increase timeout to reduce flake" into main
2 parents e57dca0 + c50727b commit 2fa957a

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
@@ -56,7 +56,7 @@ TEST(UtilsHost, ExecuteLongRunning) {
5656
});
5757
auto elapsedMs = millisSince(start);
5858
EXPECT_GE(elapsedMs, 1000);
59-
EXPECT_LT(elapsedMs, 2000);
59+
EXPECT_LT(elapsedMs, 3000); // b/377571547: higher to reduce flake
6060

6161
ASSERT_TRUE(result.has_value());
6262
EXPECT_EQ(std::nullopt, result->exitCode);
@@ -65,7 +65,7 @@ TEST(UtilsHost, ExecuteLongRunning) {
6565

6666
// ~CommandResult() called, child process is killed.
6767
// Assert that the second sleep does not finish.
68-
EXPECT_LT(millisSince(start), 2000);
68+
EXPECT_LT(millisSince(start), 3000);
6969
}
7070

7171
TEST(UtilsHost, ExecuteLongRunning2) {

0 commit comments

Comments
 (0)