aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/registered_call.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-08-31 14:51:38 -0700
committerGravatar GitHub <noreply@github.com>2016-08-31 14:51:38 -0700
commit581367afc34ae21cf375c34759ac46762d2e5a4a (patch)
treeec37b6c68f9060b4edff08166634c4dd27a943f2 /test/core/end2end/tests/registered_call.c
parent79d7d996002ff1a4d0523af1895c2e007fdba159 (diff)
parent661408c4d1358af12d8a6b5312ef6af5236eddf3 (diff)
Merge pull request #7858 from markdroth/cq_verifier_file_line
Change cq_verifier to report file and line number for expectations.
Diffstat (limited to 'test/core/end2end/tests/registered_call.c')
-rw-r--r--test/core/end2end/tests/registered_call.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/end2end/tests/registered_call.c b/test/core/end2end/tests/registered_call.c
index 671656d33b..9b2b42b558 100644
--- a/test/core/end2end/tests/registered_call.c
+++ b/test/core/end2end/tests/registered_call.c
@@ -154,7 +154,7 @@ static void simple_request_body(grpc_end2end_test_fixture f, void *rc) {
grpc_server_request_call(f.server, &s, &call_details,
&request_metadata_recv, f.cq, f.cq, tag(101));
GPR_ASSERT(GRPC_CALL_OK == error);
- cq_expect_completion(cqv, tag(101), 1);
+ CQ_EXPECT_COMPLETION(cqv, tag(101), 1);
cq_verify(cqv);
memset(ops, 0, sizeof(ops));
@@ -179,8 +179,8 @@ static void simple_request_body(grpc_end2end_test_fixture f, void *rc) {
error = grpc_call_start_batch(s, ops, (size_t)(op - ops), tag(102), NULL);
GPR_ASSERT(GRPC_CALL_OK == error);
- cq_expect_completion(cqv, tag(102), 1);
- cq_expect_completion(cqv, tag(1), 1);
+ CQ_EXPECT_COMPLETION(cqv, tag(102), 1);
+ CQ_EXPECT_COMPLETION(cqv, tag(1), 1);
cq_verify(cqv);
GPR_ASSERT(status == GRPC_STATUS_UNIMPLEMENTED);