Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2db7fdce authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "binderUtilsHostTest: increase timeout to reduce flake" into main am:...

Merge "binderUtilsHostTest: increase timeout to reduce flake" into main am: 2fa957ad am: ac89cd4a

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3341776



Change-Id: I52aacee00495e7e54e5fd3a3af6ab2ec4ceaed2b
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents bd2be80b ac89cd4a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {