Add port needs a FQN

pull/22311/head
Lidi Zheng 5 years ago
parent 5d1651ff65
commit 562f3ca5f5
  1. 2
      src/python/grpcio_tests/tests_aio/unit/compatibility_test.py

@ -168,7 +168,7 @@ class TestCompatibility(AioTestBase):
# The server will spawn its own serving thread.
server = grpc.server(ThreadPoolExecutor(),
handlers=(GenericHandlers(),))
port = server.add_insecure_port('0')
port = server.add_insecure_port('localhost:0')
server.start()
def sync_work() -> None:

Loading…
Cancel
Save