diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-11-21 19:38:09 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-11-21 19:38:09 -0800 |
commit | a13a8c0f3ea9bdf70680c0c8b5667186c832a412 (patch) | |
tree | 399711ebc0b87ac658c1a5c5cad0c58b9012fbe8 /test/core/transport | |
parent | 7486144de0577e3e9453feec328741180d1f1bfa (diff) |
A few src/core fixes due to missing exec_ctx_finish
Diffstat (limited to 'test/core/transport')
-rw-r--r-- | test/core/transport/connectivity_state_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/transport/connectivity_state_test.cc b/test/core/transport/connectivity_state_test.cc index feb603cd23..99bd0fc65f 100644 --- a/test/core/transport/connectivity_state_test.cc +++ b/test/core/transport/connectivity_state_test.cc @@ -107,6 +107,7 @@ static void test_subscribe_then_destroy(void) { GPR_ASSERT(g_counter == 0); grpc_connectivity_state_destroy(&tracker); + grpc_core::ExecCtx::Get()->Flush(); GPR_ASSERT(state == GRPC_CHANNEL_SHUTDOWN); GPR_ASSERT(g_counter == 1); } @@ -126,7 +127,7 @@ static void test_subscribe_with_failure_then_destroy(void) { GPR_ASSERT(state == GRPC_CHANNEL_SHUTDOWN); GPR_ASSERT(g_counter == 0); grpc_connectivity_state_destroy(&tracker); - + grpc_core::ExecCtx::Get()->Flush(); GPR_ASSERT(state == GRPC_CHANNEL_SHUTDOWN); GPR_ASSERT(g_counter == 1); } |