aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py')
-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()