Implement Fault Handler when test takes 60 seconds

This commit is contained in:
Ogi 2019-05-30 14:13:58 -07:00
parent 1616e99b3a
commit 153d78711b

View File

@ -143,7 +143,8 @@ jobs:
# echo "https://dev.azure.com/pyqtgraph/pyqtgraph/_apis/build/builds/$(Build.BuildId)/artifacts?artifactName=Screenshots&api-version=5.0" # echo "https://dev.azure.com/pyqtgraph/pyqtgraph/_apis/build/builds/$(Build.BuildId)/artifacts?artifactName=Screenshots&api-version=5.0"
python -m pytest -sv \ python -m pytest -sv \
--junitxml=junit/test-results.xml \ --junitxml=junit/test-results.xml \
--cov pyqtgraph --cov-report=xml --cov-report=html --cov pyqtgraph --cov-report=xml --cov-report=html \
--faulthandler-timeout=60
displayName: 'Unit tests' displayName: 'Unit tests'
env: env:
AZURE: 1 AZURE: 1