aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-09 14:26:02 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-09 14:26:02 -0800
commite5b8fca48dd3c088fb4ddc4686c3d80c356092c4 (patch)
treee045673e056cb051d4bf3fb5d66ae10029c09a3e /test/core
parent5b7088514936c8c56f9f389e53316630f72d766e (diff)
parent5634ef6e4a86d284d973c400f49b6370ad6035eb (diff)
Merge branch 'combiner_refs' into c3+r
Diffstat (limited to 'test/core')
-rw-r--r--test/core/iomgr/combiner_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/iomgr/combiner_test.c b/test/core/iomgr/combiner_test.c
index 4c9275a673..08cd2c1e26 100644
--- a/test/core/iomgr/combiner_test.c
+++ b/test/core/iomgr/combiner_test.c
@@ -44,7 +44,7 @@
static void test_no_op(void) {
gpr_log(GPR_DEBUG, "test_no_op");
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
- grpc_combiner_destroy(&exec_ctx, grpc_combiner_create(NULL));
+ grpc_combiner_unref(&exec_ctx, grpc_combiner_create(NULL));
grpc_exec_ctx_finish(&exec_ctx);
}
@@ -65,7 +65,7 @@ static void test_execute_one(void) {
GRPC_ERROR_NONE);
grpc_exec_ctx_flush(&exec_ctx);
GPR_ASSERT(done);
- grpc_combiner_destroy(&exec_ctx, lock);
+ grpc_combiner_unref(&exec_ctx, lock);
grpc_exec_ctx_finish(&exec_ctx);
}
@@ -125,7 +125,7 @@ static void test_execute_many(void) {
gpr_thd_join(thds[i]);
}
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
- grpc_combiner_destroy(&exec_ctx, lock);
+ grpc_combiner_unref(&exec_ctx, lock);
grpc_exec_ctx_finish(&exec_ctx);
}
@@ -153,7 +153,7 @@ static void test_execute_finally(void) {
GRPC_ERROR_NONE);
grpc_exec_ctx_flush(&exec_ctx);
GPR_ASSERT(got_in_finally);
- grpc_combiner_destroy(&exec_ctx, lock);
+ grpc_combiner_unref(&exec_ctx, lock);
grpc_exec_ctx_finish(&exec_ctx);
}