Merge pull request #9143 from sreecha/fix_metrics_server

Fix metrics server
pull/8891/merge
David G. Quintas 8 years ago committed by GitHub
commit 89f33bfd91
  1. 4
      test/cpp/interop/stress_test.cc

@ -371,9 +371,9 @@ int main(int argc, char** argv) {
}
// Start metrics server before waiting for the stress test threads
std::unique_ptr<grpc::Server> metrics_server;
if (FLAGS_metrics_port > 0) {
std::unique_ptr<grpc::Server> metrics_server =
metrics_service.StartServer(FLAGS_metrics_port);
metrics_server = metrics_service.StartServer(FLAGS_metrics_port);
}
// Wait for the stress test threads to complete

Loading…
Cancel
Save