aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-21 21:27:54 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-21 21:27:54 -0700
commit62aef621360403c15a7c58f4b7a3e8daadc7b07a (patch)
tree52b3dcacf4413372ce4e88d4586091d3cc09e4c6 /test/core
parentba496454b2f0909a64845f1305f3b0a81073a4f1 (diff)
Fixes
Diffstat (limited to 'test/core')
-rw-r--r--test/core/iomgr/tcp_server_posix_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core/iomgr/tcp_server_posix_test.c b/test/core/iomgr/tcp_server_posix_test.c
index 5bd3792a01..75026f651c 100644
--- a/test/core/iomgr/tcp_server_posix_test.c
+++ b/test/core/iomgr/tcp_server_posix_test.c
@@ -74,6 +74,7 @@ static void test_no_op_with_start(void) {
}
static void test_no_op_with_port(void) {
+ grpc_call_list call_list = GRPC_CALL_LIST_INIT;
struct sockaddr_in addr;
grpc_tcp_server *s = grpc_tcp_server_create();
LOG_TEST("test_no_op_with_port");
@@ -83,7 +84,8 @@ static void test_no_op_with_port(void) {
GPR_ASSERT(
grpc_tcp_server_add_port(s, (struct sockaddr *)&addr, sizeof(addr)));
- grpc_tcp_server_destroy(s, NULL, NULL);
+ grpc_tcp_server_destroy(s, NULL, &call_list);
+ grpc_call_list_run(&call_list);
}
static void test_no_op_with_port_and_start(void) {