Skip to content

Commit

Permalink
Make the "t0-sonic" check of PR testing optional
Browse files Browse the repository at this point in the history
The "t0-sonic" check of PR testing is still unstable. This check should not block
PR merging.

This change added code to make check results of "t0-sonic" optional.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
  • Loading branch information
wangxin committed Apr 29, 2022
1 parent c380126 commit ce53a51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .azure-pipelines/run-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ steps:
parent_dir=$(basename $PWD)
docker exec sonic-mgmt-2 bash -c "/var/src/$parent_dir/tests/kvmtest.sh -en -T ${{ parameters.tbtype }} -d /var/src/$parent_dir ${{ parameters.tbname }} ${{ parameters.dut }} ${{ parameters.section }}"
displayName: "Run tests"
${{ if eq(parameters.tbtype, "t0-sonic") }}:
continueOnError: true

- script: |
# save dut state if test fails
Expand Down

0 comments on commit ce53a51

Please sign in to comment.