Skip to content

Commit

Permalink
[vs tests] Enable test retries by default using flaky (sonic-net#69)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall authored Jan 29, 2020
1 parent 472d8a5 commit 215743c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/common/sonic-utilities-build/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ cleanup() {
trap cleanup ERR

cd sonic-swss-tests/tests
sudo py.test -v --junitxml=tr.xml --imgname=docker-sonic-vs:${JOB_NAME##*/}.${BUILD_NUMBER}
sudo py.test -v --force-flaky --junitxml=tr.xml --imgname=docker-sonic-vs:${JOB_NAME##*/}.${BUILD_NUMBER}
2 changes: 1 addition & 1 deletion scripts/vs/sonic-swss-build/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ cleanup() {
trap cleanup ERR

pushd swss/tests
sudo py.test -v --junitxml=tr.xml --imgname=docker-sonic-vs:${JOB_NAME##*/}.${BUILD_NUMBER}
sudo py.test -v --force-flaky --junitxml=tr.xml --imgname=docker-sonic-vs:${JOB_NAME##*/}.${BUILD_NUMBER}

0 comments on commit 215743c

Please sign in to comment.