Add timeout for pytest<5
This commit is contained in:
parent
2a0f866f7c
commit
ac0e9dc99d
@ -67,6 +67,7 @@ install:
|
||||
# faulthandler support not built in to pytest for python 2.7
|
||||
- if [ "${PYTHON}" == "2.7" ]; then
|
||||
pip install pytest-faulthandler;
|
||||
export PYTEST_ADDOPTS="--faulthandler-timeout=15";
|
||||
fi;
|
||||
|
||||
# Debugging helpers
|
||||
|
@ -102,6 +102,7 @@ jobs:
|
||||
if [ $(python.version) == "2.7" ]
|
||||
then
|
||||
pip install pytest-faulthandler
|
||||
export PYTEST_ADDOPTS="--faulthandler-timeout=15"
|
||||
fi
|
||||
displayName: "Install Dependencies"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user