|
|
|
@ -465,12 +465,15 @@ class XdsUpdateClientConfigureServiceImpl |
|
|
|
|
void RunTestLoop(std::chrono::duration<double> duration_per_query, |
|
|
|
|
StatsWatchers* stats_watchers, |
|
|
|
|
RpcConfigurationsQueue* rpc_configs_queue) { |
|
|
|
|
grpc::ChannelArguments channel_args; |
|
|
|
|
channel_args.SetInt(GRPC_ARG_ENABLE_RETRIES, 1); |
|
|
|
|
TestClient client( |
|
|
|
|
grpc::CreateChannel(absl::GetFlag(FLAGS_server), |
|
|
|
|
absl::GetFlag(FLAGS_secure_mode) |
|
|
|
|
? grpc::experimental::XdsCredentials( |
|
|
|
|
grpc::InsecureChannelCredentials()) |
|
|
|
|
: grpc::InsecureChannelCredentials()), |
|
|
|
|
grpc::CreateCustomChannel(absl::GetFlag(FLAGS_server), |
|
|
|
|
absl::GetFlag(FLAGS_secure_mode) |
|
|
|
|
? grpc::experimental::XdsCredentials( |
|
|
|
|
grpc::InsecureChannelCredentials()) |
|
|
|
|
: grpc::InsecureChannelCredentials(), |
|
|
|
|
channel_args), |
|
|
|
|
stats_watchers); |
|
|
|
|
std::chrono::time_point<std::chrono::system_clock> start = |
|
|
|
|
std::chrono::system_clock::now(); |
|
|
|
|