diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-05-04 19:49:31 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-05-05 15:39:36 -0700 |
commit | ad0f7922540c7d1edabd3fbd03a8b98131953fc2 (patch) | |
tree | 8ddc57890c5adf62804214b80eda040df525bc41 /test/cpp/interop/stress_interop_client.cc | |
parent | 48d833a9d8280216040ef731341502d7d0f157e4 (diff) |
Interop client that is resilient to server restarts
Diffstat (limited to 'test/cpp/interop/stress_interop_client.cc')
-rw-r--r-- | test/cpp/interop/stress_interop_client.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cpp/interop/stress_interop_client.cc b/test/cpp/interop/stress_interop_client.cc index f287a5aa3b..31f5a424a0 100644 --- a/test/cpp/interop/stress_interop_client.cc +++ b/test/cpp/interop/stress_interop_client.cc @@ -84,11 +84,12 @@ StressTestInteropClient::StressTestInteropClient( int test_id, const grpc::string& server_address, std::shared_ptr<Channel> channel, const WeightedRandomTestSelector& test_selector, long test_duration_secs, - long sleep_duration_ms) + 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)), + interop_client_(new InteropClient(channel, false, + do_not_abort_on_transient_failures)), test_selector_(test_selector), test_duration_secs_(test_duration_secs), sleep_duration_ms_(sleep_duration_ms) {} |