summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2025-01-03 12:58:24 -0800
committer Steven Moreland <smoreland@google.com> 2025-01-03 20:59:53 +0000
commitb754f1c33d632fded952108f618df4b3fb12cd80 (patch)
treeeafbc3e2db6ff88c0b9a1dc822804b23adb3bc3b
parent38a4ab9f6e7a58abefb2f4f0f2672f1cf51885bd (diff)
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
-rw-r--r--libs/binder/tests/binderSafeInterfaceTest.cpp2
1 files changed, 1 insertions, 1 deletions
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<int32_t> waitForCallback() {
std::unique_lock<decltype(mMutex)> lock(mMutex);
bool success =
- mCondition.wait_for(lock, 100ms, [&]() { return static_cast<bool>(mValue); });
+ mCondition.wait_for(lock, 1000ms, [&]() { return static_cast<bool>(mValue); });
return success ? mValue : std::nullopt;
}