Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5eef483 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "binderLibTest: fix SYN flooding again." am: 04b72fba am: 48e6351f am: 88b9ab41

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1734536

Change-Id: Ib96d1c12ec1d73f54897d1eeed106dedeeca97ce
parents 686c798c 88b9ab41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1288,7 +1288,7 @@ TEST_P(BinderLibRpcClientTest, Test) {
    bool start = false;

    auto threadFn = [&](size_t threadNum) {
        usleep(threadNum * 10 * 1000); // threadNum * 10ms. Need this to avoid SYN flooding.
        usleep(threadNum * 50 * 1000); // threadNum * 50ms. Need this to avoid SYN flooding.
        auto rpcSession = RpcSession::make();
        ASSERT_TRUE(rpcSession->setupInetClient("127.0.0.1", port));
        auto rpcServerBinder = rpcSession->getRootObject();