Merge pull request #3059 from soltanmm/timeout

Add per-test timeouts to Python test harness.
pull/3070/head
Nathaniel Manista 9 years ago
commit 1b481b64be
  1. 1
      src/python/grpcio_test/setup.py
  2. 2
      tools/run_tests/run_python.sh

@ -61,6 +61,7 @@ _SETUP_REQUIRES = (
'pytest>=2.6',
'pytest-cov>=2.0',
'pytest-xdist>=1.11',
'pytest-timeout>=0.5',
)
_INSTALL_REQUIRES = (

@ -47,4 +47,4 @@ source "python"$PYVER"_virtual_environment"/bin/activate
"python"$PYVER -m grpc_test._core_over_links_base_interface_test
"python"$PYVER -m grpc_test.framework.core._base_interface_test
"python"$PYVER $GRPCIO_TEST/setup.py test -a "-n8 --cov=grpc --junitxml=./report.xml"
"python"$PYVER $GRPCIO_TEST/setup.py test -a "-n8 --cov=grpc --junitxml=./report.xml --timeout=300"

Loading…
Cancel
Save