aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-13 15:40:22 +0000
committerGravatar Craig Tiller <ctiller@google.com>2017-04-14 06:49:43 -0700
commit6aba1e574a9fc420cfa3e0274a377f5db2571fdc (patch)
tree41f2febc17c3c22d5137ec5a8c870551e975fc43 /test
parent90bb7bddd138bac7126b01bfcb31fa9beff7d2fb (diff)
Fix broken test
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/tests/streaming_error_response.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/end2end/tests/streaming_error_response.c b/test/core/end2end/tests/streaming_error_response.c
index c652d9469d..e032b33988 100644
--- a/test/core/end2end/tests/streaming_error_response.c
+++ b/test/core/end2end/tests/streaming_error_response.c
@@ -182,6 +182,9 @@ static void test(grpc_end2end_test_config config, bool request_status_early) {
GPR_ASSERT(GRPC_CALL_OK == error);
CQ_EXPECT_COMPLETION(cqv, tag(102), 1);
+ if (!request_status_early) {
+ CQ_EXPECT_COMPLETION(cqv, tag(1), 1);
+ }
cq_verify(cqv);
memset(ops, 0, sizeof(ops));
@@ -193,9 +196,6 @@ static void test(grpc_end2end_test_config config, bool request_status_early) {
GPR_ASSERT(GRPC_CALL_OK == error);
CQ_EXPECT_COMPLETION(cqv, tag(103), 1);
- if (!request_status_early) {
- CQ_EXPECT_COMPLETION(cqv, tag(1), 1);
- }
cq_verify(cqv);
memset(ops, 0, sizeof(ops));