diff options
author | Ken Payson <kpayson@google.com> | 2017-12-20 11:26:08 -0800 |
---|---|---|
committer | Ken Payson <kpayson@google.com> | 2017-12-20 13:02:00 -0800 |
commit | 3bc8e422dcc171aeda4a883b3d59c8e71d6cf33b (patch) | |
tree | f1a30fa4fc5f05438401012be9350db16e0c0426 /src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py | |
parent | cc04915b07cfd5245b43bb91cfa610cd406dc3f6 (diff) |
Disable so_reuseport for Python tests
Diffstat (limited to 'src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py')
-rw-r--r-- | src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py b/src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py index 4136739f05..8d464b2d4b 100644 --- a/src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py +++ b/src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py @@ -13,7 +13,6 @@ # limitations under the License. """Insecure client-server interoperability as a unit test.""" -from concurrent import futures import unittest import grpc @@ -22,13 +21,14 @@ from src.proto.grpc.testing import test_pb2_grpc from tests.interop import _intraop_test_case from tests.interop import methods from tests.interop import server +from tests.unit import test_common class InsecureIntraopTest(_intraop_test_case.IntraopTestCase, unittest.TestCase): def setUp(self): - self.server = grpc.server(futures.ThreadPoolExecutor(max_workers=10)) + self.server = test_common.test_server() test_pb2_grpc.add_TestServiceServicer_to_server(methods.TestService(), self.server) port = self.server.add_insecure_port('[::]:0') |