From 54e5f257a93b411d8ecd91c9b3dd03ff1c39ec32 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 30 Dec 2024 13:34:03 -0800 Subject: binderUtilsHostTest: prevent flake When the child process here takes too long to shutdown, but not 100s that the final sleep takes, this is flaking. Change-Id: Ic9d5d9020a7abbd37824afc94106cb4b5704163c Fixes: 383262768 Test: N/A --- libs/binder/tests/binderUtilsHostTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/binder/tests/binderUtilsHostTest.cpp b/libs/binder/tests/binderUtilsHostTest.cpp index a62ad96be1..ca70b6644b 100644 --- a/libs/binder/tests/binderUtilsHostTest.cpp +++ b/libs/binder/tests/binderUtilsHostTest.cpp @@ -89,8 +89,8 @@ TEST(UtilsHost, ExecuteLongRunning2) { } // ~CommandResult() called, child process is killed. - // Assert that the second sleep does not finish. - EXPECT_LT(millisSince(start), 6000); + // Assert that the last sleep does not finish. + EXPECT_LT(millisSince(start), 8000); } TEST(UtilsHost, KillWithSigKill) { -- cgit v1.2.3-59-g8ed1b