diff --git a/test/groovy/CommonStepsTest.groovy b/test/groovy/CommonStepsTest.groovy index 5078ffd73..256b6599e 100644 --- a/test/groovy/CommonStepsTest.groovy +++ b/test/groovy/CommonStepsTest.groovy @@ -42,7 +42,9 @@ public class CommonStepsTest extends BasePiperTest{ public void generalConfigKeysSetPresentTest() { def fieldName = 'GENERAL_CONFIG_KEYS' - def stepsWithoutGeneralConfigKeySet = fieldCheck(fieldName, fieldRelatedWhitelist) + // the steps added to the fieldRelatedWhitelist do not take the general config at all + def stepsWithoutGeneralConfigKeySet = fieldCheck(fieldName, fieldRelatedWhitelist.plus(['gaugeExecuteTests', + 'pipelineRestartSteps'])) assertThat("Steps without ${fieldName} field (or that field is not a Set): ${stepsWithoutGeneralConfigKeySet}", stepsWithoutGeneralConfigKeySet, is(empty()))