aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar Paul Marks <pmarks@google.com>2017-02-07 16:28:09 -0800
committerGravatar Paul Marks <pmarks@google.com>2017-02-07 16:28:09 -0800
commit3a5bba0a2034a2dffbfeb7a30281f8ac43d5ce59 (patch)
tree42a11d43afae17510bc722fa41ec59ca59137990 /src/python
parent86e3a5490062fc0c004ad1f2c0a72a38b13c83b1 (diff)
Connect to "localhost" from interop clients.
This is for compatibility with IPv6-only environments; see the Google bug b/32531998. Note that InteropClient.cs and http2_client.cc don't appear to be tested by our internal branch, but I've included them for consistency.
Diffstat (limited to 'src/python')
-rw-r--r--src/python/grpcio_tests/tests/interop/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio_tests/tests/interop/client.py b/src/python/grpcio_tests/tests/interop/client.py
index 833818e662..97f6843d3c 100644
--- a/src/python/grpcio_tests/tests/interop/client.py
+++ b/src/python/grpcio_tests/tests/interop/client.py
@@ -45,7 +45,7 @@ def _args():
'--server_host',
help='the host to which to connect',
type=str,
- default="127.0.0.1")
+ default="localhost")
parser.add_argument(
'--server_port', help='the port to which to connect', type=int)
parser.add_argument(