From 04178250efacecb76bce249b90084f33dac50e87 Mon Sep 17 00:00:00 2001 From: Leonard Xu Date: Wed, 23 Mar 2022 19:35:28 +0800 Subject: [PATCH] [build] Decrease the azure job timeout to reasonable 40 minutes (#991) --- tools/azure-pipelines/jobs-template-for-self-hosted-agent.yml | 4 ++-- tools/azure-pipelines/jobs-template.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/azure-pipelines/jobs-template-for-self-hosted-agent.yml b/tools/azure-pipelines/jobs-template-for-self-hosted-agent.yml index f2bd0db7f..a3ec14829 100644 --- a/tools/azure-pipelines/jobs-template-for-self-hosted-agent.yml +++ b/tools/azure-pipelines/jobs-template-for-self-hosted-agent.yml @@ -24,7 +24,7 @@ jobs: # succeeded() is needed to allow job cancellation condition: and(succeeded(), not(eq(variables['MODE'], 'e2e'))) pool: ${{parameters.test_pool_definition}} - timeoutInMinutes: 240 + timeoutInMinutes: 40 cancelTimeoutInMinutes: 1 workspace: clean: all # this cleans the entire workspace directory before running a new job @@ -68,7 +68,7 @@ jobs: dependsOn: compile_${{parameters.stage_name}} condition: and(succeeded(), not(eq(variables['MODE'], 'e2e'))) pool: ${{parameters.test_pool_definition}} - timeoutInMinutes: 240 + timeoutInMinutes: 40 cancelTimeoutInMinutes: 1 workspace: clean: all diff --git a/tools/azure-pipelines/jobs-template.yml b/tools/azure-pipelines/jobs-template.yml index f3f6ccf8d..0515de74f 100644 --- a/tools/azure-pipelines/jobs-template.yml +++ b/tools/azure-pipelines/jobs-template.yml @@ -24,7 +24,7 @@ jobs: # succeeded() is needed to allow job cancellation condition: and(succeeded(), not(eq(variables['MODE'], 'e2e'))) pool: ${{parameters.test_pool_definition}} - timeoutInMinutes: 240 + timeoutInMinutes: 40 cancelTimeoutInMinutes: 1 workspace: clean: all # this cleans the entire workspace directory before running a new job @@ -68,7 +68,7 @@ jobs: dependsOn: compile_${{parameters.stage_name}} condition: and(succeeded(), not(eq(variables['MODE'], 'e2e'))) pool: ${{parameters.test_pool_definition}} - timeoutInMinutes: 240 + timeoutInMinutes: 40 cancelTimeoutInMinutes: 1 workspace: clean: all