diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-10 12:52:45 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-10 12:52:45 -0700 |
commit | 339e421b29dc5a1369367ce6863a76ba8f3eda71 (patch) | |
tree | 83252e9194c32b162b0cc661d14e0f140f640363 /test/core/bad_client | |
parent | 0cab13f55837bd9c8fdc97115af765055b9a2aa8 (diff) |
Change endpoint interface to declare poller coveredness
Diffstat (limited to 'test/core/bad_client')
-rw-r--r-- | test/core/bad_client/bad_client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/bad_client/bad_client.c b/test/core/bad_client/bad_client.c index 8dbc5aa861..fd143a0c4c 100644 --- a/test/core/bad_client/bad_client.c +++ b/test/core/bad_client/bad_client.c @@ -153,7 +153,8 @@ void grpc_run_bad_client_test( grpc_schedule_on_exec_ctx); /* Write data */ - grpc_endpoint_write(&exec_ctx, sfd.client, &outgoing, &done_write_closure); + grpc_endpoint_write(&exec_ctx, sfd.client, &outgoing, true, + &done_write_closure); grpc_exec_ctx_finish(&exec_ctx); /* Await completion */ @@ -181,7 +182,7 @@ void grpc_run_bad_client_test( grpc_closure read_done_closure; grpc_closure_init(&read_done_closure, read_done, &args, grpc_schedule_on_exec_ctx); - grpc_endpoint_read(&exec_ctx, sfd.client, &args.incoming, + grpc_endpoint_read(&exec_ctx, sfd.client, &args.incoming, true, &read_done_closure); grpc_exec_ctx_finish(&exec_ctx); GPR_ASSERT( |