summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-11-07 07:09:12 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-11-07 07:09:12 +0000
commit2db7fdced969314a5c10f412272182c73b12f27a (patch)
treefa1a52f2ad075523426e0f7cbd2a4e1f3a5abfa0
parentbd2be80b77f66f4e474bebca094a42ad24f7d886 (diff)
parentac89cd4a599c94e871df51c12829baa53ddd6d33 (diff)
Merge "binderUtilsHostTest: increase timeout to reduce flake" into main am: 2fa957ad7d am: ac89cd4a59
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>
-rw-r--r--libs/binder/tests/binderUtilsHostTest.cpp4
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) {