diff options
author | 2017-07-31 14:16:26 -0700 | |
---|---|---|
committer | 2017-07-31 14:16:26 -0700 | |
commit | 79d9a8a7e05f132f12fa9b3202ce7f20591bc444 (patch) | |
tree | dc04aaf4dcbc1fd7a5047d7be33355d2c68e2669 /test/core/surface/completion_queue_threading_test.c | |
parent | 7001bc279b520b556eb7e8e14fd8c9f87dfe3785 (diff) | |
parent | dc1cfe9e21d0b3ea19911300d15a65ef6201bb92 (diff) |
Merge branch 'master' into tsi_grpc
Diffstat (limited to 'test/core/surface/completion_queue_threading_test.c')
-rw-r--r-- | test/core/surface/completion_queue_threading_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/surface/completion_queue_threading_test.c b/test/core/surface/completion_queue_threading_test.c index 99d0fa4980..9996b6b840 100644 --- a/test/core/surface/completion_queue_threading_test.c +++ b/test/core/surface/completion_queue_threading_test.c @@ -107,7 +107,7 @@ static void test_too_many_plucks(void) { GPR_ASSERT(ev.type == GRPC_QUEUE_TIMEOUT); for (i = 0; i < GPR_ARRAY_SIZE(tags); i++) { - grpc_cq_begin_op(cc, tags[i]); + GPR_ASSERT(grpc_cq_begin_op(cc, tags[i])); grpc_cq_end_op(&exec_ctx, cc, tags[i], GRPC_ERROR_NONE, do_nothing_end_completion, NULL, &completions[i]); } @@ -153,7 +153,7 @@ static void producer_thread(void *arg) { gpr_log(GPR_INFO, "producer %d phase 1", opt->id); for (i = 0; i < TEST_THREAD_EVENTS; i++) { - grpc_cq_begin_op(opt->cc, (void *)(intptr_t)1); + GPR_ASSERT(grpc_cq_begin_op(opt->cc, (void *)(intptr_t)1)); } gpr_log(GPR_INFO, "producer %d phase 1 done", opt->id); |