diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-02-05 17:04:51 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-02-05 17:04:51 -0800 |
commit | 3054756462f41e6811d7866bd231982f0613279f (patch) | |
tree | 5fed6688a3a7956840e1b493ed89f4b4652ac96c /test | |
parent | 16c5032fdb487d744f26721a876b0f03e8b566f9 (diff) |
Fix in-flight cancellations
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/tests/cancel_after_accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/tests/cancel_after_accept.c b/test/core/end2end/tests/cancel_after_accept.c index 3dc34ff506..7e13021dc8 100644 --- a/test/core/end2end/tests/cancel_after_accept.c +++ b/test/core/end2end/tests/cancel_after_accept.c @@ -184,7 +184,7 @@ static void test_cancel_after_accept(grpc_end2end_test_config config, op->op = GRPC_OP_RECV_MESSAGE; op->data.recv_message = &request_payload_recv; op++; - GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(s, ops, op - ops, tag(3))); + GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(s, ops, server_ops, tag(3))); GPR_ASSERT(GRPC_CALL_OK == mode.initiate_cancel(c)); |