Add timeout parameter to live test job (#1478)

This commit is contained in:
Daniel Jurek 2021-01-26 15:04:37 -08:00 committed by GitHub
parent 50a4186d96
commit 583120d3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

@ -17,10 +17,14 @@ parameters:
- name: CoverageReportPath
type: string
default: sdk/*/*/*cov_xml.xml
- name: TimeoutInMinutes
type: number
default: 60
jobs:
- job: Validate
condition: and(succeededOrFailed(), ne(variables['Skip.LiveTest'], 'true'))
timeoutInMinutes: ${{ parameters.TimeoutInMinutes }}
strategy:
matrix:
Linux_x64_with_unit_test:

View File

@ -29,6 +29,9 @@ parameters:
- name: LinuxPool
type: string
default: azsdk-pool-mms-ubuntu-1804-general
- name: LiveTestTimeoutInMinutes
type: number
default: 60
stages:
- stage: Build
@ -50,6 +53,7 @@ stages:
- template: /eng/pipelines/templates/jobs/archetype-sdk-tests.yml
# Code coverage is enabled by default for live tests
parameters:
TimeoutInMinutes: ${{ parameters.LiveTestTimeoutInMinutes }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
CtestRegex: ${{ parameters.LiveTestCtestRegex }}
Location: ${{ parameters.Location }}

View File

@ -34,6 +34,7 @@ stages:
# CI has static code analisys disabled, while LiveTest will have it enabled
CtestRegex: azure-core.
LiveTestCtestRegex: azure-core.
LiveTestTimeoutInMinutes: 90
Artifacts:
- Name: azure-core
Path: azure-core