From b754f1c33d632fded952108f618df4b3fb12cd80 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 3 Jan 2025 12:58:24 -0800 Subject: binderSafeInterfaceTest: another quick flake fix P.S. we should delete safe interface and move everything to using AIDL-generated interfaces. It doesn't support all the things AIDL does, and we don't want so many ways of doing things. Change-Id: I92c97e458314c0c85ec9ca8eab2c1552abec8ca6 Fixes: 387346410 Test: TH --- libs/binder/tests/binderSafeInterfaceTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/binder/tests/binderSafeInterfaceTest.cpp b/libs/binder/tests/binderSafeInterfaceTest.cpp index 849dc7c4d5..7d1556e7d2 100644 --- a/libs/binder/tests/binderSafeInterfaceTest.cpp +++ b/libs/binder/tests/binderSafeInterfaceTest.cpp @@ -789,7 +789,7 @@ TEST_F(SafeInterfaceTest, TestCallMeBack) { std::optional waitForCallback() { std::unique_lock lock(mMutex); bool success = - mCondition.wait_for(lock, 100ms, [&]() { return static_cast(mValue); }); + mCondition.wait_for(lock, 1000ms, [&]() { return static_cast(mValue); }); return success ? mValue : std::nullopt; } -- cgit v1.2.3-59-g8ed1b