@@ -105,17 +105,17 @@ parameters:
105105 type : object
106106 default : [net8.0, net9.0]
107107
108+ # The timeout, in minutes, for each test job.
109+ - name : testJobTimeout
110+ displayName : Test job timeout (in minutes)
111+ type : number
112+ default : 60
113+
108114 - name : testSets
109115 displayName : Test Sets
110116 type : object
111117 default : [1, 2, 3]
112118
113- # The timeout, in minutes, for each test job.
114- - name : testJobTimeout
115- displayName : Test job timeout (in minutes)
116- type : string
117- default : Default
118-
119119 - name : useManagedSNI
120120 displayName : |
121121 Use Managed/Native SNI on Windows,
@@ -134,19 +134,8 @@ extends:
134134 enableStressTests : ${{ parameters.enableStressTests }}
135135 targetFrameworks : ${{ parameters.targetFrameworks }}
136136 targetFrameworksUnix : ${{ parameters.targetFrameworksUnix }}
137+ testJobTimeout : ${{ parameters.testJobTimeout }}
137138 testSets : ${{ parameters.testSets }}
138- # Populate the actual test job timeout numeric values if Default was
139- # specified. We choose different values depending on the build
140- # configuration.
141- ${{ if eq(parameters.testJobTimeout, 'Default') }} :
142- # If the build configuration is Debug, we allow a bit of extra time since
143- # some tests run more slowly, and some tests are Debug only.
144- ${{ if eq(parameters.buildConfiguration, 'Debug') }} :
145- testJobTimeout : 110
146- ${{ else }} :
147- testJobTimeout : 90
148- ${{ else }} :
149- testJobTimeout : ${{ parameters.testJobTimeout }}
150139 useManagedSNI : ${{ parameters.useManagedSNI }}
151140 # Don't run the AE tests in Debug mode; they rarely succeed.
152141 ${{ if eq(parameters.buildConfiguration, 'Debug') }} :
0 commit comments