diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2019-01-30 22:42:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-30 22:42:49 -0800 |
commit | e369d43e6630774ef73a18821488819fe5f1a596 (patch) | |
tree | 628814e643ed37be5eea774808d004317f5f8de5 /azure-pipelines.yml | |
parent | d644d979bf5cda2bb41b4173208943e3c8c62af2 (diff) | |
download | coreclr-e369d43e6630774ef73a18821488819fe5f1a596.tar.gz coreclr-e369d43e6630774ef73a18821488819fe5f1a596.tar.bz2 coreclr-e369d43e6630774ef73a18821488819fe5f1a596.zip |
Add timeoutPerTestCollection and use this to control Helix workitem timeout (#22312)
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b010e5cb36..4e9967fc07 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -137,7 +137,14 @@ jobs: asArray: - normal - no_tiered_compilation - timeoutInMinutes: 240 + # "Total" includes building tests, waiting for a queue in Helix to become available, and running the tests. + # In case test-job.yml gets split into two separate jobs (e.g. build-test-job.yml and run-test.yml) + # this number should be adjusted accordingly. + timeoutTotalInMinutes: 240 + # "PerCollection" is time needed for the "biggest" xUnit test collection to complete. + # In case xUnit test wrappers get refactored this number should also be adjusted. + timeoutPerTestCollectionInMinutes: 30 + # "PerTest" corresponds to individual test running time (i.e. __TestTimeout). timeoutPerTestInMinutes: 10 # Pri1 (CI) @@ -153,7 +160,8 @@ jobs: asArray: - normal - no_tiered_compilation - timeoutInMinutes: 360 + timeoutTotalInMinutes: 360 + timeoutPerTestCollectionInMinutes: 60 timeoutPerTestInMinutes: 10 # Pri1 ReadyToRun (CI) @@ -170,8 +178,9 @@ jobs: asArray: - normal - no_tiered_compilation - timeoutInMinutes: 360 - timeoutPerTestInMinutes: 30 + timeoutTotalInMinutes: 360 + timeoutPerTestCollectionInMinutes: 60 + timeoutPerTestInMinutes: 10 # Pri1 (Schedule, Manual) - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule', 'Manual')) }}: @@ -199,7 +208,9 @@ jobs: - jitstressregs0x80 - jitstressregs0x1000 - jitminopts - timeoutInMinutes: 480 + timeoutTotalInMinutes: 480 + # TODO: Adjust this number as soon as we have more data on how long it takes to run these jobs in Helix. + timeoutPerTestCollectionInMinutes: 120 timeoutPerTestInMinutes: 30 @@ -220,7 +231,8 @@ jobs: asArray: - normal - no_tiered_compilation - timeoutInMinutes: 360 + timeoutTotalInMinutes: 360 + timeoutPerTestCollectionInMinutes: 60 timeoutPerTestInMinutes: 10 # Pri1 ReadyToRun (Official Build) @@ -237,8 +249,9 @@ jobs: asArray: - normal - no_tiered_compilation - timeoutInMinutes: 360 - timeoutPerTestInMinutes: 30 + timeoutTotalInMinutes: 360 + timeoutPerTestCollectionInMinutes: 60 + timeoutPerTestInMinutes: 10 # Publish build information to Build Assets Registry |