diff options
author | Vijay Pai <vpai@google.com> | 2015-08-13 15:03:46 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2015-08-13 15:03:46 -0700 |
commit | d9c1bc7281cac61472ba2cd6d39c1d5b878cc3bc (patch) | |
tree | 95fb3e7d33b7eda69131d6b46605d251871cb78d /test/core/end2end/cq_verifier.c | |
parent | ed48bf8f71efce4a9037a74ae9ab2c83a3e9b4a7 (diff) | |
parent | f123443aa524bf42d3d23a834e0ae33d57ed8648 (diff) |
Merge pull request #2612 from nicolasnoble/the-ultimate-showdown
Adding reserved arguments and pointers in the API to ensure stability.
Diffstat (limited to 'test/core/end2end/cq_verifier.c')
-rw-r--r-- | test/core/end2end/cq_verifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/cq_verifier.c b/test/core/end2end/cq_verifier.c index c28932c52b..a9ba78dfdb 100644 --- a/test/core/end2end/cq_verifier.c +++ b/test/core/end2end/cq_verifier.c @@ -226,7 +226,7 @@ void cq_verify(cq_verifier *v) { gpr_strvec_init(&have_tags); while (v->expect.next != &v->expect) { - ev = grpc_completion_queue_next(v->cq, deadline); + ev = grpc_completion_queue_next(v->cq, deadline, NULL); if (ev.type == GRPC_QUEUE_TIMEOUT) { fail_no_event_received(v); break; @@ -265,7 +265,7 @@ void cq_verify_empty(cq_verifier *v) { GPR_ASSERT(v->expect.next == &v->expect && "expectation queue must be empty"); - ev = grpc_completion_queue_next(v->cq, deadline); + ev = grpc_completion_queue_next(v->cq, deadline, NULL); if (ev.type != GRPC_QUEUE_TIMEOUT) { char *s = grpc_event_string(&ev); gpr_log(GPR_ERROR, "unexpected event (expected nothing): %s", s); |