diff options
author | 2018-07-17 16:36:59 -0700 | |
---|---|---|
committer | 2018-07-17 17:12:26 -0700 | |
commit | b6597b4fbde40b61200d363a195239e19e0b599c (patch) | |
tree | 98377751da4b5183e8685d50d1993b747a475c64 /test/cpp/interop/stress_interop_client.cc | |
parent | 3904de99b8539acd0957d5e5f65e1d5531fefdaf (diff) |
Add two new soak interop tests
Diffstat (limited to 'test/cpp/interop/stress_interop_client.cc')
-rw-r--r-- | test/cpp/interop/stress_interop_client.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/interop/stress_interop_client.cc b/test/cpp/interop/stress_interop_client.cc index 9d373c3cd9..7dc1956f78 100644 --- a/test/cpp/interop/stress_interop_client.cc +++ b/test/cpp/interop/stress_interop_client.cc @@ -68,13 +68,13 @@ TestCaseType WeightedRandomTestSelector::GetNextTest() const { StressTestInteropClient::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) : test_id_(test_id), server_address_(server_address), - channel_(channel), - interop_client_(new InteropClient(channel, false, + channel_creation_func_(channel_creation_func), + interop_client_(new InteropClient(channel_creation_func_, false, do_not_abort_on_transient_failures)), test_selector_(test_selector), test_duration_secs_(test_duration_secs), |