aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-29 11:55:32 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-11-29 11:55:32 -0800
commit26e934245d2af33f613f932f290315c5c9feca27 (patch)
tree5e559510196888f8aeaa53700228af48a14f5742 /test/core/iomgr
parent03412ee9de902e378bc4cea933397ebe5faddc29 (diff)
Fix race conditions and more grpc_inits required. csharp tests will be fixed in a different PR
Diffstat (limited to 'test/core/iomgr')
-rw-r--r--test/core/iomgr/resolve_address_posix_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/iomgr/resolve_address_posix_test.cc b/test/core/iomgr/resolve_address_posix_test.cc
index 0ea57e2202..45a5e5a0b1 100644
--- a/test/core/iomgr/resolve_address_posix_test.cc
+++ b/test/core/iomgr/resolve_address_posix_test.cc
@@ -79,9 +79,9 @@ static grpc_millis n_sec_deadline(int seconds) {
static void actually_poll(void* argsp) {
args_struct* args = static_cast<args_struct*>(argsp);
- grpc_core::ExecCtx _local_exec_ctx;
grpc_millis deadline = n_sec_deadline(10);
while (true) {
+ grpc_core::ExecCtx _local_exec_ctx;
bool done = gpr_atm_acq_load(&args->done_atm) != 0;
if (done) {
break;