From 87e1189083c7ee448c2da0548fe533c9c0b9bb80 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Mon, 18 Nov 2019 14:55:06 -0800 Subject: [PATCH] Use dedicated threads for synchronous runners --- src/python/grpcio_tests/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/grpcio_tests/commands.py b/src/python/grpcio_tests/commands.py index 98b0312b404..f76c40f5ea2 100644 --- a/src/python/grpcio_tests/commands.py +++ b/src/python/grpcio_tests/commands.py @@ -95,7 +95,7 @@ class TestLite(setuptools.Command): import tests loader = tests.Loader() loader.loadTestsFromNames(['tests']) - runner = tests.Runner() + runner = tests.Runner(dedicated_threads=True) result = runner.run(loader.suite) if not result.wasSuccessful(): sys.exit('Test failure')