Skip to content

Commit 12a57e3

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "binder RPC: quick callbacks flake" into main
2 parents cbd1764 + 2446f1d commit 12a57e3

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)