aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-09-02 09:27:26 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-09-02 09:27:26 -0700
commitf6b6d2984157cc24ee69afb9b025b5d250a5a9ad (patch)
treee97e479078ac8e11b97e9ae9cc7b77c64fa79355 /test/core
parent23aff2e0cd188c0ce6e7949a1b0ff253e3eebf8f (diff)
Address review comments
Diffstat (limited to 'test/core')
-rw-r--r--test/core/iomgr/combiner_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/iomgr/combiner_test.c b/test/core/iomgr/combiner_test.c
index 7cf016d82c..197998c1e5 100644
--- a/test/core/iomgr/combiner_test.c
+++ b/test/core/iomgr/combiner_test.c
@@ -80,7 +80,6 @@ typedef struct {
static void check_one(grpc_exec_ctx *exec_ctx, void *a, grpc_error *error) {
ex_args *args = a;
- // gpr_log(GPR_DEBUG, "*%p=%d; step %d", args->ctr, *args->ctr, args->value);
GPR_ASSERT(*args->ctr == args->value - 1);
*args->ctr = args->value;
gpr_free(a);
@@ -99,6 +98,8 @@ static void execute_many_loop(void *a) {
grpc_closure_create(check_one, c), GRPC_ERROR_NONE);
grpc_exec_ctx_flush(&exec_ctx);
}
+ // sleep for a little bit, to test a combiner draining and another thread
+ // picking it up
gpr_sleep_until(GRPC_TIMEOUT_MILLIS_TO_DEADLINE(100));
}
grpc_exec_ctx_finish(&exec_ctx);