commit | 186527da2dd9a32677aacc4b32fd98b5b79ae63d | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Fri Jul 28 21:20:23 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jul 28 21:20:23 2023 +0000 |
tree | e21d16fb574d4c9f3ad6225abaa89effe6e4b845 | |
parent | 2cf4cd34a371817f583ba9d47fb4dba4963d9841 [diff] | |
parent | 66869a6eb3bd0e404daba417e38d16f837568341 [diff] |
Merge "binder_rpc_fuzzer: improve speed by reducing the no of connections" into main am: cf6bd7ce66 am: a28571e2e2 am: 66869a6eb3 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2646519 Change-Id: Idef5c19fc699632456a64bd0e8240bd5b3e8101a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libs/binder/tests/rpc_fuzzer/main.cpp b/libs/binder/tests/rpc_fuzzer/main.cpp index b8ae84d..dcc8b8e 100644 --- a/libs/binder/tests/rpc_fuzzer/main.cpp +++ b/libs/binder/tests/rpc_fuzzer/main.cpp
@@ -135,7 +135,7 @@ // b/260736889 - limit arbitrarily, due to thread resource exhaustion, which currently // aborts. Servers should consider RpcServer::setConnectionFilter instead. - constexpr size_t kMaxConnections = 1000; + constexpr size_t kMaxConnections = 10; while (provider.remaining_bytes() > 0) { if (connections.empty() ||