aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/secure_sync_unary_ping_pong_test.cc
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2016-03-14 17:12:52 -0700
committerGravatar vjpai <vpai@google.com>2016-03-14 17:12:52 -0700
commit63326281d793ec44f1fe818eefac0342ba01388b (patch)
treea33c13fe610f786458e86dc0d1782a0fa72f26d7 /test/cpp/qps/secure_sync_unary_ping_pong_test.cc
parentdb3bccade402f651f5eb770aa49dc09735ece260 (diff)
1. Remove all deadlines from the RPCs and shutdown in this code.
These tests (especially unconstrained versions) can get very backlogged and may take a while to finish. We sometimes flake waiting for that. This is not hazardous (IMO), as the scripts that run these tests already have timeouts to make sure that these don't truly go on forever. 2. Make the time spent in the benchmark phase actually be benchmark_seconds rather than benchmark_seconds-warmup_seconds as it is currently.
Diffstat (limited to 'test/cpp/qps/secure_sync_unary_ping_pong_test.cc')
-rw-r--r--test/cpp/qps/secure_sync_unary_ping_pong_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/secure_sync_unary_ping_pong_test.cc b/test/cpp/qps/secure_sync_unary_ping_pong_test.cc
index 359310b856..946c76f747 100644
--- a/test/cpp/qps/secure_sync_unary_ping_pong_test.cc
+++ b/test/cpp/qps/secure_sync_unary_ping_pong_test.cc
@@ -43,7 +43,7 @@ namespace grpc {
namespace testing {
static const int WARMUP = 5;
-static const int BENCHMARK = 10;
+static const int BENCHMARK = 5;
static void RunSynchronousUnaryPingPong() {
gpr_log(GPR_INFO, "Running Synchronous Unary Ping Pong");