Skip to content
Snippets Groups Projects
Commit 1b481b64 authored by Nathaniel Manista's avatar Nathaniel Manista
Browse files

Merge pull request #3059 from soltanmm/timeout

Add per-test timeouts to Python test harness.
parents 7e3c3b2e 8f56c422
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,7 @@ _SETUP_REQUIRES = ( ...@@ -61,6 +61,7 @@ _SETUP_REQUIRES = (
'pytest>=2.6', 'pytest>=2.6',
'pytest-cov>=2.0', 'pytest-cov>=2.0',
'pytest-xdist>=1.11', 'pytest-xdist>=1.11',
'pytest-timeout>=0.5',
) )
_INSTALL_REQUIRES = ( _INSTALL_REQUIRES = (
......
...@@ -47,4 +47,4 @@ source "python"$PYVER"_virtual_environment"/bin/activate ...@@ -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._core_over_links_base_interface_test
"python"$PYVER -m grpc_test.framework.core._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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment