aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-15 11:43:26 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-15 11:43:26 -0700
commitca83dc810924549f9279e73c93b3610c5189f21b (patch)
tree25f27e9e0112b78da0e2bf93cf9b9efebb91f1e6 /test/cpp/qps
parent5c785d4c3982e6c2dd3bacab11e01405ddfbab8f (diff)
Adjust oustanding request count to meet new server algorithm
Diffstat (limited to 'test/cpp/qps')
-rw-r--r--test/cpp/qps/server_async.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc
index f5251e961b..10f884383a 100644
--- a/test/cpp/qps/server_async.cc
+++ b/test/cpp/qps/server_async.cc
@@ -80,7 +80,7 @@ class AsyncQpsServerTest : public Server {
server_ = builder.BuildAndStart();
using namespace std::placeholders;
- for (int i = 0; i < 10; i++) {
+ for (int i = 0; i < 10000 / config.threads(); i++) {
for (int j = 0; j < config.threads(); j++) {
auto request_unary = std::bind(
&TestService::AsyncService::RequestUnaryCall, &async_service_, _1,