aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-10-13 15:51:31 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-10-13 15:59:06 -0700
commit661ad7fc85b0603c9e554b82851c102b84375074 (patch)
tree0a07b8f2ff88033143ad7c0d5928bf300bc2cc3e /test/core/iomgr
parent706b70f4986df8b69a680d1feb8c6bb4d585bd03 (diff)
We need the iomgr_init for winsocks initialization.
Also fixed (thanks @nicolasnoble) wrong construction of error msg.
Diffstat (limited to 'test/core/iomgr')
-rw-r--r--test/core/iomgr/resolve_address_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/iomgr/resolve_address_test.c b/test/core/iomgr/resolve_address_test.c
index a516a2595d..56ce091a88 100644
--- a/test/core/iomgr/resolve_address_test.c
+++ b/test/core/iomgr/resolve_address_test.c
@@ -126,6 +126,7 @@ static void test_unparseable_hostports(void) {
int main(int argc, char **argv) {
grpc_test_init(argc, argv);
grpc_executor_init();
+ grpc_iomgr_init();
test_localhost();
test_default_port();
test_missing_default_port();
@@ -133,6 +134,7 @@ int main(int argc, char **argv) {
test_ipv6_without_port();
test_invalid_ip_addresses();
test_unparseable_hostports();
+ grpc_iomgr_shutdown();
grpc_executor_shutdown();
return 0;
}