Remove redundant WaitForConnected

pull/13114/head
Yuchen Zeng 7 years ago
parent 692bbf942c
commit ca31256597
  1. 3
      test/cpp/qps/client.h

@ -433,9 +433,6 @@ class ClientImpl : public Client {
!config.security_params().use_test_ca(), !config.security_params().use_test_ca(),
std::shared_ptr<CallCredentials>(), args); std::shared_ptr<CallCredentials>(), args);
gpr_log(GPR_INFO, "Connecting to %s", target.c_str()); gpr_log(GPR_INFO, "Connecting to %s", target.c_str());
GPR_ASSERT(channel_->WaitForConnected(
gpr_time_add(gpr_now(GPR_CLOCK_REALTIME),
gpr_time_from_seconds(300, GPR_TIMESPAN))));
is_inproc_ = false; is_inproc_ = false;
} else { } else {
grpc::string tgt = target; grpc::string tgt = target;

Loading…
Cancel
Save