aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-13 17:13:08 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-13 17:13:08 -0800
commitbf444937c613370fb88acbc4bceefba1772cc3c1 (patch)
treed411418fcf82ac57fe27d4f34303a7c3bc6b91d8 /test
parentf93d53e458743d561a93cb11541ca3b28580a3d8 (diff)
Fix ordering problem leading to flaky test
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/tests/max_concurrent_streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/tests/max_concurrent_streams.c b/test/core/end2end/tests/max_concurrent_streams.c
index 5a0d458d20..e58b31a7cc 100644
--- a/test/core/end2end/tests/max_concurrent_streams.c
+++ b/test/core/end2end/tests/max_concurrent_streams.c
@@ -225,8 +225,8 @@ static void test_max_concurrent_streams(grpc_end2end_test_config config) {
/* first request is finished, we should be able to start the second */
cq_expect_finished_with_status(v_client, tag(live_call + 2),
GRPC_STATUS_UNIMPLEMENTED, "xyz", NULL);
- live_call = (live_call == 300) ? 400 : 300;
cq_expect_finish_accepted(v_client, tag(live_call + 3), GRPC_OP_OK);
+ live_call = (live_call == 300) ? 400 : 300;
cq_verify(v_client);
GPR_ASSERT(GRPC_CALL_OK == grpc_server_request_call(f.server, tag(200)));