diff options
author | Sree Kuchibhotla <sreek@google.com> | 2018-07-23 10:52:27 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2018-07-23 10:52:27 -0700 |
commit | 7b8be4d6fd0a3b7374d5a28bea1eff319c49fefe (patch) | |
tree | b058501d6776d69a115f6b3e29e2bdd335915ac8 /test/cpp/interop/stress_interop_client.h | |
parent | ec1c112cc17cd1290a901ca606ac916422d3342c (diff) | |
parent | 53d2899374e74b4185a55e3fc26b64d0a02840a8 (diff) |
Merge branch 'master' into rq-threads
Diffstat (limited to 'test/cpp/interop/stress_interop_client.h')
-rw-r--r-- | test/cpp/interop/stress_interop_client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/interop/stress_interop_client.h b/test/cpp/interop/stress_interop_client.h index e4fa7d0973..58680d8093 100644 --- a/test/cpp/interop/stress_interop_client.h +++ b/test/cpp/interop/stress_interop_client.h @@ -91,7 +91,7 @@ class WeightedRandomTestSelector { class StressTestInteropClient { public: StressTestInteropClient(int test_id, const grpc::string& server_address, - const std::shared_ptr<Channel>& channel, + ChannelCreationFunc channel_creation_func, const WeightedRandomTestSelector& test_selector, long test_duration_secs, long sleep_duration_ms, bool do_not_abort_on_transient_failures); @@ -105,7 +105,7 @@ class StressTestInteropClient { int test_id_; const grpc::string& server_address_; - std::shared_ptr<Channel> channel_; + ChannelCreationFunc channel_creation_func_; std::unique_ptr<InteropClient> interop_client_; const WeightedRandomTestSelector& test_selector_; long test_duration_secs_; |