From a59bd7cc2ccec76e8f625afe0e755c35d2a10c62 Mon Sep 17 00:00:00 2001 From: clearloop <26088946+clearloop@users.noreply.github.com> Date: Tue, 19 Dec 2023 00:04:42 +0800 Subject: [PATCH] chore(scripts): add retries for gsdk related tests --- scripts/src/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/src/test.sh b/scripts/src/test.sh index d3282ce6dc0..55a6b47cb84 100755 --- a/scripts/src/test.sh +++ b/scripts/src/test.sh @@ -43,7 +43,7 @@ gsdk_test() { if [ "$CARGO" = "cargo xwin" ]; then $CARGO test -p gsdk --no-fail-fast "$@" else - cargo nextest run -p gsdk --profile ci --no-fail-fast "$@" + cargo nextest run -p gsdk --profile ci --no-fail-fast "$@" --retries 3 fi } @@ -51,7 +51,7 @@ gcli_test() { if [ "$CARGO" = "cargo xwin" ]; then $CARGO test -p gcli --no-fail-fast "$@" else - cargo nextest run -p gcli --profile ci --no-fail-fast "$@" + cargo nextest run -p gcli --profile ci --no-fail-fast "$@" --retries 3 fi } @@ -67,7 +67,7 @@ client_tests() { if [ "$CARGO" = "cargo xwin" ]; then $CARGO test -p gclient --no-fail-fast "$@" else - cargo nextest run -p gclient --no-fail-fast "$@" + cargo nextest run -p gclient --no-fail-fast "$@" --retries 3 fi }