diff options
author | Craig Tiller <ctiller@google.com> | 2016-09-28 17:28:04 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-09-28 17:28:04 -0700 |
commit | 1a8c52e47910bc32ed963fd8f56efb00c91883c7 (patch) | |
tree | 1e2715cf62d56e153a2affa5913eec86082c2adb /test/cpp/qps/driver.cc | |
parent | 0c80c7d12c7affaea272c127bb6cad10c5f07a44 (diff) |
Collect stats on # failed requests
Diffstat (limited to 'test/cpp/qps/driver.cc')
-rw-r--r-- | test/cpp/qps/driver.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index fea94a3cb2..29e53f383d 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -169,6 +169,8 @@ static void postprocess_scenario_result(ScenarioResult* result) { failures += rrc.count(); } } + result->mutable_summary()->set_successful_requests(successes); + result->mutable_summary()->set_failed_requests(successes); } } |