aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2018-12-17 21:05:13 -0800
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2018-12-17 21:05:13 -0800
commit3c49252d47f149c8b3262f9a1db83f11340e368b (patch)
tree166d5891f17949db1d6606818c0937ef88ea2905 /src/python
parent8183fe12992ac36fd99b637422d6bf158e760036 (diff)
bazel docker image does not support ipv6
Diffstat (limited to 'src/python')
-rw-r--r--src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py b/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py
index 1797e9bbfe..1d1fdba11e 100644
--- a/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py
+++ b/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py
@@ -81,7 +81,7 @@ def run_test(args):
thread.daemon = True
thread.start()
port = port_queue.get()
- channel = grpc.insecure_channel('[::]:%d' % port)
+ channel = grpc.insecure_channel('localhost:%d' % port)
multi_callable = channel.unary_unary(FORK_EXIT)
result, call = multi_callable.with_call(REQUEST, wait_for_ready=True)
os.wait()