Skip to content

Commit

Permalink
Set grpc max_workers to 4 to resolve test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-feld committed Aug 10, 2020
1 parent dcf9ea8 commit 8fe66dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testing_support/mock_external_grpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8fe66dc

Please sign in to comment.