aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-02-01 13:01:34 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-02-01 13:01:34 -0800
commit6b05639ab1fbde6efe4bd702f6267230f470425b (patch)
tree7766dc0dbd9c620baec9e3a1f901606a923a7346 /test
parent7d45cdb60b1f6f9cd8750f405d74362600b82c16 (diff)
Make sure that client limit is valid
Diffstat (limited to 'test')
-rw-r--r--test/cpp/qps/driver.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc
index f3b92c8082..a00d8643f4 100644
--- a/test/cpp/qps/driver.cc
+++ b/test/cpp/qps/driver.cc
@@ -290,6 +290,7 @@ std::unique_ptr<ScenarioResult> RunScenario(
}
}
if (match) {
+ GPR_ASSERT(limit > 0);
client_core_limit = limit;
}
}