diff options
author | 2016-09-20 11:02:51 -0700 | |
---|---|---|
committer | 2016-09-20 11:02:51 -0700 | |
commit | 1edc77c7c6267fc85a37adc5f539060c93e97528 (patch) | |
tree | 64d60676be5e38f1cd3cf9b017bf0937c28a48d1 /src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py | |
parent | f4a7ecf3b6d2b26f9baa33ce5cd219270095e955 (diff) | |
parent | a6a6fa4f12c5634d87d8b4e64fa50c3618586a7c (diff) |
Merge github.com:grpc/grpc into direct-calls
Diffstat (limited to 'src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py')
-rw-r--r-- | src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py b/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py index cf212c5653..20115fb22c 100644 --- a/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py +++ b/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py @@ -157,11 +157,12 @@ class CancelManyCallsTest(unittest.TestCase): server_thread_pool = logging_pool.pool(test_constants.THREAD_CONCURRENCY) server_completion_queue = cygrpc.CompletionQueue() - server = cygrpc.Server() + server = cygrpc.Server(cygrpc.ChannelArgs([])) server.register_completion_queue(server_completion_queue) port = server.add_http2_port(b'[::]:0') server.start() - channel = cygrpc.Channel('localhost:{}'.format(port).encode()) + channel = cygrpc.Channel('localhost:{}'.format(port).encode(), + cygrpc.ChannelArgs([])) state = _State() |