Implement Fault Handler when test takes 60 seconds
This commit is contained in:
parent
1616e99b3a
commit
153d78711b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user