Skip to content

Commit 2db7fdc

Browse files
Treehugger Robotandroid-build-merge-worker-robot
authored andcommitted
Merge "binderUtilsHostTest: increase timeout to reduce flake" into main am: 2fa957a am: ac89cd4
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3341776 Change-Id: I52aacee00495e7e54e5fd3a3af6ab2ec4ceaed2b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2 parents bd2be80 + ac89cd4 commit 2db7fdc

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)