aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop/stress_interop_client.h
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-07-17 16:36:59 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-07-17 17:12:26 -0700
commitb6597b4fbde40b61200d363a195239e19e0b599c (patch)
tree98377751da4b5183e8685d50d1993b747a475c64 /test/cpp/interop/stress_interop_client.h
parent3904de99b8539acd0957d5e5f65e1d5531fefdaf (diff)
Add two new soak interop tests
Diffstat (limited to 'test/cpp/interop/stress_interop_client.h')
-rw-r--r--test/cpp/interop/stress_interop_client.h4
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_;