aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar apolcyn <apolcyn@google.com>2018-06-11 12:56:44 -0700
committerGravatar GitHub <noreply@github.com>2018-06-11 12:56:44 -0700
commit96e10741b884e0d4b2108a838840aada0361df56 (patch)
tree7480ceb2d8487ad549ab826bf0eff853315f99cb /templates
parent3089cc8c38563d27160f9772a2e5ed4e60c058f7 (diff)
parent50a72139297c6b8d526663e3d992201dc2797bb1 (diff)
Merge pull request #15708 from apolcyn/revert_fix_cares_test_on_ipv6_only
Revert "Fix c-ares tests ipv6-only brokenness"
Diffstat (limited to 'templates')
-rw-r--r--templates/test/cpp/naming/resolver_component_tests_defs.include6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/test/cpp/naming/resolver_component_tests_defs.include b/templates/test/cpp/naming/resolver_component_tests_defs.include
index c3c3b68672..bc981dc83e 100644
--- a/templates/test/cpp/naming/resolver_component_tests_defs.include
+++ b/templates/test/cpp/naming/resolver_component_tests_defs.include
@@ -58,7 +58,7 @@ def wait_until_dns_server_is_up(args,
test_runner_log('Health check: attempt to connect to DNS server over TCP.')
tcp_connect_subprocess = subprocess.Popen([
args.tcp_connect_bin_path,
- '--server_host', '::1',
+ '--server_host', '127.0.0.1',
'--server_port', str(args.dns_server_port),
'--timeout', str(1)])
tcp_connect_subprocess.communicate()
@@ -68,7 +68,7 @@ def wait_until_dns_server_is_up(args,
dns_resolver_subprocess = subprocess.Popen([
args.dns_resolver_bin_path,
'--qname', 'health-check-local-dns-server-is-alive.resolver-tests.grpctestingexp',
- '--server_host', '::1',
+ '--server_host', '127.0.0.1',
'--server_port', str(args.dns_server_port)],
stdout=subprocess.PIPE)
dns_resolver_stdout, _ = dns_resolver_subprocess.communicate()
@@ -125,7 +125,7 @@ current_test_subprocess = subprocess.Popen([\
\
% endfor
- '--local_dns_server_address', '[::1]:%d' % args.dns_server_port])\
+ '--local_dns_server_address', '127.0.0.1:%d' % args.dns_server_port])\
current_test_subprocess.communicate()\