diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 56809c4756c..a02dfce4e2a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -151,6 +151,31 @@ stages: KVM_IMAGE_BRANCH: $(BUILD_BRANCH) MGMT_BRANCH: "master" + - job: impacted_area_t1_lag_elastictest + displayName: "impacted-area-kvmtest-t1-lag by Elastictest - optional" + dependsOn: get_impacted_area + condition: contains(dependencies.get_impacted_area.outputs['SetVariableTask.PR_CHECKERS'], 't1') + variables: + TEST_SCRIPTS: $[ dependencies.get_impacted_area.outputs['SetVariableTask.TEST_SCRIPTS'] ] + timeoutInMinutes: 240 + continueOnError: true + pool: sonic-ubuntu-1c + steps: + - template: .azure-pipelines/impacted_area_testing/calculate-instance-numbers.yml + parameters: + TOPOLOGY: t1 + BUILD_BRANCH: $(BUILD_BRANCH) + + - template: .azure-pipelines/run-test-elastictest-template.yml + parameters: + TOPOLOGY: t1-lag + SCRIPTS: $(SCRIPTS) + MIN_WORKER: $(INSTANCE_NUMBER) + MAX_WORKER: $(INSTANCE_NUMBER) + KVM_IMAGE_BRANCH: $(BUILD_BRANCH) + MGMT_BRANCH: $(BUILD_BRANCH) + STOP_ON_FAILURE: "False" + - job: dualtor_elastictest displayName: "kvmtest-dualtor-t0 by Elastictest" timeoutInMinutes: 240