Skip to content

Commit bb06b33

Browse files
authored
Revert "[CI/CD]Add topology and device type argument for PR test (sonic-net#12483)" (sonic-net#12640)
This reverts commit fe4e741.
1 parent 07ea1be commit bb06b33

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.azure-pipelines/test_plan.py

-15
Original file line numberDiff line numberDiff line change
@@ -223,21 +223,6 @@ def create(self, topology, test_plan_name="my_test_plan", deploy_mg_extra_params
223223

224224
common_extra_params = common_extra_params + " --completeness_level=confident --allow_recover"
225225

226-
# Add topo and device type args for PR test
227-
if test_plan_type == "PR":
228-
# Add topo arg
229-
if topology in ["t0", "t0-64-32"]:
230-
common_extra_params = common_extra_params + " --topology=t0,any"
231-
elif topology in ["t1-lag", "t1-8-lag"]:
232-
common_extra_params = common_extra_params + " --topology=t1,any"
233-
elif topology == "dualtor":
234-
common_extra_params = common_extra_params + " --topology=t0,dualtor,any"
235-
elif topology == "dpu":
236-
common_extra_params = common_extra_params + " --topology=dpu,any"
237-
238-
# Add device type arg
239-
common_extra_params = common_extra_params + " --device_type=vs"
240-
241226
# If triggered by the internal repos, use internal sonic-mgmt repo as the code base
242227
sonic_mgmt_repo_url = GITHUB_SONIC_MGMT_REPO
243228
if kwargs.get("source_repo") in INTERNAL_REPO_LIST:

0 commit comments

Comments
 (0)