From dcb6262019ba22e36eaafcea089ef70e42325991 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 26 May 2017 09:47:38 -0700 Subject: Make race conditions more prevalent --- test/core/surface/completion_queue_threading_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/core/surface') diff --git a/test/core/surface/completion_queue_threading_test.c b/test/core/surface/completion_queue_threading_test.c index bff69ec74f..4ede629139 100644 --- a/test/core/surface/completion_queue_threading_test.c +++ b/test/core/surface/completion_queue_threading_test.c @@ -205,7 +205,8 @@ static void consumer_thread(void *arg) { gpr_log(GPR_INFO, "consumer %d phase 2", opt->id); for (;;) { - ev = grpc_completion_queue_next(opt->cc, ten_seconds_time(), NULL); + ev = grpc_completion_queue_next(opt->cc, + gpr_inf_future(GPR_CLOCK_MONOTONIC), NULL); switch (ev.type) { case GRPC_OP_COMPLETE: GPR_ASSERT(ev.success); -- cgit v1.2.3