[TestbedV2] Add wan topo test using TestbedV2. (#12751)

Add wan topo test using TestbedV2.

Why I did it
Add wan topo test using TestbedV2.

How I did it
Add a job to run wan topo in pr test.

Signed-off-by: Yutong Zhang <yutongzhang@microsoft.com>
This commit is contained in:
Yutong Zhang 2022-11-21 10:34:23 +08:00 committed by GitHub
parent 6448afd338
commit 68805fbd06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -364,3 +364,18 @@ stages:
COMMON_EXTRA_PARAMS: "--neighbor_type=sonic --enable_macsec --macsec_profile=128_SCI,256_XPN_SCI"
VM_TYPE: vsonic
SPECIFIED_PARAMS: '{\"test_pretest.py\":[\"--completeness_level=confident\",\"--allow_recover\"],\"test_posttest.py\":[\"--completeness_level=confident\",\"--allow_recover\"]}'
- job: wan_testbedv2
displayName: "kvmtest-wan by TestbedV2"
pool:
vmImage: 'ubuntu-20.04'
timeoutInMinutes: 1080
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
continueOnError: true
steps:
- template: .azure-pipelines/run-test-scheduler-template.yml
parameters:
TOPOLOGY: wan-pub
MIN_WORKER: 1
MAX_WORKER: 1
COMMON_EXTRA_PARAMS: "--skip_sanity "