Use dedicated threads for synchronous runners

pull/21248/head
Lidi Zheng 5 years ago
parent f97858f8d1
commit 87e1189083
  1. 2
      src/python/grpcio_tests/commands.py

@ -95,7 +95,7 @@ class TestLite(setuptools.Command):
import tests import tests
loader = tests.Loader() loader = tests.Loader()
loader.loadTestsFromNames(['tests']) loader.loadTestsFromNames(['tests'])
runner = tests.Runner() runner = tests.Runner(dedicated_threads=True)
result = runner.run(loader.suite) result = runner.run(loader.suite)
if not result.wasSuccessful(): if not result.wasSuccessful():
sys.exit('Test failure') sys.exit('Test failure')

Loading…
Cancel
Save