Skip to content

Commit f32e603

Browse files
authored
Refine PR test job name (sonic-net#17249)
What is the motivation for this PR? Baseline test will use test plan name to distinguish different test platforms, and test plan name determined by pipeline job name, so job name should have a unified standard and be easy to distinguish. How did you do it? Replace _ in job name with - to make it easier to distinguish different test jobs, for example, in baseline test, once we create multiple test plans for t0, the test plan name will be xxx_impacted-area-kvmtest-t0_number, difficult to distinguish with t0_2vlans test job xxx_impacted-area-kvmtest-t0_2vlans_number when we want to search t0 tests, so use - in job name. Use t0-sonic not sonic-t0, because in all other places, we are using t0-sonic. Change multi-asic to multi-asic-t1 to show the topo type. Co-authored-by: xwjiang2021 <96218837+xwjiang2021@users.noreply.github.com>
1 parent 422cba8 commit f32e603

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ stages:
132132
MGMT_BRANCH: "master"
133133

134134
- job: impacted_area_t0_2vlans_elastictest
135-
displayName: "impacted-area-kvmtest-t0_2vlans by Elastictest"
135+
displayName: "impacted-area-kvmtest-t0-2vlans by Elastictest"
136136
dependsOn:
137137
- get_impacted_area
138138
- choose_between_mixed_and_py3_ptf_image
@@ -222,7 +222,7 @@ stages:
222222
MGMT_BRANCH: "master"
223223

224224
- job: impacted_area_multi_asic_elastictest
225-
displayName: "impacted-area-kvmtest-multi_asic by Elastictest"
225+
displayName: "impacted-area-kvmtest-multi-asic-t1 by Elastictest"
226226
dependsOn:
227227
- get_impacted_area
228228
- choose_between_mixed_and_py3_ptf_image
@@ -250,8 +250,8 @@ stages:
250250
KVM_IMAGE_BRANCH: $(BUILD_BRANCH)
251251
MGMT_BRANCH: "master"
252252

253-
- job: impacted_area_sonic_t0_elastictest
254-
displayName: "impacted-area-kvmtest-sonic_t0 by Elastictest"
253+
- job: impacted_area_t0_sonic_elastictest
254+
displayName: "impacted-area-kvmtest-t0-sonic by Elastictest"
255255
dependsOn:
256256
- get_impacted_area
257257
- choose_between_mixed_and_py3_ptf_image
@@ -311,7 +311,7 @@ stages:
311311

312312
# This PR checker aims to run all t1 test scripts on multi-asic topology.
313313
- job: impacted_area_multi_asic_t1_elastictest
314-
displayName: "impacted-area-kvmtest-multi_asic_t1 by Elastictest - optional"
314+
displayName: "impacted-area-kvmtest-multi-asic-t1 by Elastictest - optional"
315315
dependsOn:
316316
- get_impacted_area
317317
- choose_between_mixed_and_py3_ptf_image

0 commit comments

Comments
 (0)