From 8fe66dca1203331801447ac39f281c0e50c3f053 Mon Sep 17 00:00:00 2001 From: Allan Feldman Date: Mon, 10 Aug 2020 15:27:15 -0400 Subject: [PATCH] Set grpc max_workers to 4 to resolve test failures. --- tests/testing_support/mock_external_grpc_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testing_support/mock_external_grpc_server.py b/tests/testing_support/mock_external_grpc_server.py index bc898176c9..836b55e317 100644 --- a/tests/testing_support/mock_external_grpc_server.py +++ b/tests/testing_support/mock_external_grpc_server.py @@ -29,7 +29,7 @@ class MockExternalgRPCServer(object): def __init__(self, port=50051, *args, **kwargs): - self.server = grpc.server(futures.ThreadPoolExecutor(max_workers=1)) + self.server = grpc.server(futures.ThreadPoolExecutor(max_workers=4)) self.server.port = self.server.add_insecure_port('127.0.0.1:%s' % port) def __enter__(self):