Skip to content

Commit 914e7ae

Browse files
committed
CI: add timeout for unit tests prone to hang
1 parent cc3d3a3 commit 914e7ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/azure_build_steps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ steps:
2929
- bash: if [ $(Agent.OS) = 'Windows_NT' ]; then cp build/testing/Release/* build/testing; fi
3030
- bash: build/testing/UnitTests --gtest_shuffle --gtest_output=xml:test_$(Agent.JobName).xml || true
3131
displayName: 'Run unit tests'
32+
timeoutInMinutes: 5
3233
- task: PublishTestResults@2
3334
inputs:
3435
testResultsFormat: 'JUnit'

0 commit comments

Comments
 (0)