diff options
author | Sree Kuchibhotla <sreek@google.com> | 2015-11-04 14:25:05 -0800 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2015-11-04 14:25:05 -0800 |
commit | c36b480ce9354daaaf829de88a0a04e76873df7a (patch) | |
tree | fd1be8fa0ce603fc290c0e452611cc6d6f111cc2 /test/cpp | |
parent | 4d0f2f9dab16162d41970e80c48d851f34b831bb (diff) |
Fix a small error
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/interop/stress_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/interop/stress_test.cc b/test/cpp/interop/stress_test.cc index 2d84c0d103..fffa3dd3de 100644 --- a/test/cpp/interop/stress_test.cc +++ b/test/cpp/interop/stress_test.cc @@ -236,7 +236,8 @@ int main(int argc, char** argv) { FLAGS_sleep_duration_ms, FLAGS_metrics_collection_interval_secs); bool is_already_created; - grpc::string metricName = "/stress_test/qps/thread/" + std::to_string(i); + grpc::string metricName = + "/stress_test/qps/thread/" + std::to_string(thread_idx); test_threads.emplace_back( thread(&StressTestInteropClient::MainLoop, client, metrics_service.CreateGauge(metricName, is_already_created))); |