aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/server_crash_test_client.cc
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-09-27 13:07:00 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-09-27 13:07:00 -0700
commit94777240032e41dd0cfb56218a09912395aded05 (patch)
tree284a33b102416e07970f0a0c5240c4f97900be91 /test/cpp/end2end/server_crash_test_client.cc
parent9a574ec95289c9382fd0f130da12371e63e798a1 (diff)
Change C++ API to expose wait_for_ready instead of fail_fast.
Diffstat (limited to 'test/cpp/end2end/server_crash_test_client.cc')
-rw-r--r--test/cpp/end2end/server_crash_test_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/end2end/server_crash_test_client.cc b/test/cpp/end2end/server_crash_test_client.cc
index 10a251c952..5df09cd853 100644
--- a/test/cpp/end2end/server_crash_test_client.cc
+++ b/test/cpp/end2end/server_crash_test_client.cc
@@ -65,7 +65,7 @@ int main(int argc, char** argv) {
EchoRequest request;
EchoResponse response;
grpc::ClientContext context;
- context.set_fail_fast(false);
+ context.set_wait_for_ready(true);
if (FLAGS_mode == "bidi") {
auto stream = stub->BidiStream(&context);