File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,6 @@ class Build {
317
317
List dynamicList = buildConfig. DYNAMIC_LIST
318
318
List numMachines = buildConfig. NUM_MACHINES
319
319
def enableTestDynamicParallel = Boolean . valueOf(buildConfig. ENABLE_TESTDYNAMICPARALLEL )
320
- def numMachinesPerTest = ' '
321
320
322
321
testList. each { testType ->
323
322
@@ -334,10 +333,11 @@ class Build {
334
333
335
334
def jobParams = getAQATestJobParams(testType)
336
335
def parallel = ' None'
336
+ def numMachinesPerTest = ' '
337
337
338
338
if (enableTestDynamicParallel && dynamicList. contains(testType)) {
339
339
numMachinesPerTest = numMachines. getAt(dynamicList. indexOf(testType))
340
- if (! numMachinesPerTest) {
340
+ if (numMachinesPerTest) {
341
341
// see build configuration in jdk*_pipeline_config.groovy
342
342
// when numMachines is an array, its size should match the testLists size
343
343
throw new Exception (" No number of machines provided for running ${ testType} tests in parallel, numMachines: ${ numMachines} !" )
You can’t perform that action at this time.
0 commit comments