Skip to content

Commit

Permalink
tolerate flaky tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kadner <[email protected]>
  • Loading branch information
ckadner committed Dec 3, 2023
1 parent 9d5e122 commit f94bbaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy/iks/test-fvt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ run_fvt() {

export NAMESPACE=${SERVING_NS}
export NAMESPACESCOPEMODE=false
ginkgo -v --progress --fail-fast -p fvt/predictor fvt/scaleToZero --timeout 40m > fvt.out
ginkgo -v --procs=4 --compilers=4 --keep-going fvt/predictor fvt/scaleToZero fvt/storage fvt/hpa --timeout=50m --flake-attempts=3 > fvt.out
cat fvt.out

if [[ $(grep "Test Suite Passed" fvt.out) ]]; then
export NAMESPACE="modelmesh-user"
ginkgo -v --progress --fail-fast -p fvt/predictor fvt/scaleToZero --timeout 40m > fvt.out
ginkgo -v --procs=4 --compilers=4 --keep-going fvt/predictor fvt/scaleToZero fvt/storage fvt/hpa --timeout=50m --flake-attempts=3 > fvt.out
cat fvt.out
if [[ $(grep "Test Suite Passed" fvt.out) ]]; then
REV=0
Expand Down

0 comments on commit f94bbaf

Please sign in to comment.