Skip to content

Commit a9b2a42

Browse files
Treehugger Robotandroid-build-merge-worker-robot
authored andcommitted
Merge "binder RPC: quick callbacks flake" into main am: 12a57e3
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3453370 Change-Id: Ie160d0aeeaf46968ac89a74672c46f3e053621d1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2 parents 77f0c55 + 12a57e3 commit a9b2a42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libs/binder/tests/binderRpcUniversalTests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,9 @@ TEST_P(BinderRpc, Callbacks) {
498498
// same thread, everything should have happened in a nested call. Otherwise,
499499
// the callback will be processed on another thread.
500500
if (callIsOneway || callbackIsOneway || delayed) {
501-
using std::literals::chrono_literals::operator""s;
501+
using std::literals::chrono_literals::operator""ms;
502502
RpcMutexUniqueLock _l(cb->mMutex);
503-
cb->mCv.wait_for(_l, 1s, [&] { return !cb->mValues.empty(); });
503+
cb->mCv.wait_for(_l, 1500ms, [&] { return !cb->mValues.empty(); });
504504
}
505505

506506
EXPECT_EQ(cb->mValues.size(), 1UL)

0 commit comments

Comments
 (0)