aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-21 21:35:36 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-21 21:35:36 -0800
commit018afed1b3083c2d032ad31906194f66d52097a3 (patch)
tree5acc137db1c9de9405ea7db9ae1023fb141981a5 /test/core/iomgr
parentad145bc9cb1103e1c3dc75610ab221a8cbbacc07 (diff)
Must init iomgr
Diffstat (limited to 'test/core/iomgr')
-rw-r--r--test/core/iomgr/resolve_address_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/iomgr/resolve_address_test.c b/test/core/iomgr/resolve_address_test.c
index 26a4bc67e6..319ee634d6 100644
--- a/test/core/iomgr/resolve_address_test.c
+++ b/test/core/iomgr/resolve_address_test.c
@@ -32,6 +32,7 @@
*/
#include "src/core/iomgr/resolve_address.h"
+#include "src/core/iomgr/iomgr.h"
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include <grpc/support/time.h>
@@ -122,7 +123,7 @@ static void test_unparseable_hostports(void) {
int main(int argc, char** argv) {
grpc_test_init(argc, argv);
-
+ grpc_iomgr_init();
test_localhost();
test_default_port();
test_missing_default_port();
@@ -130,6 +131,6 @@ int main(int argc, char** argv) {
test_ipv6_without_port();
test_invalid_ip_addresses();
test_unparseable_hostports();
-
+ grpc_iomgr_shutdown();
return 0;
}