tests: Add retries for windows integration tests

Signed-off-by: Bo Chen <bchen@crusoe.ai>
This commit is contained in:
Bo Chen
2026-04-11 05:20:12 +00:00
committed by Rob Bradford
parent e48b14dcac
commit a3899a9783
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ cargo build --all --release --target "$BUILD_TARGET"
# Only run with 1 thread to avoid tests interfering with one another because
# Windows has a static IP configured
time cargo nextest run --no-tests=pass "windows::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]}
time cargo nextest run --retries 3 --no-tests=pass "windows::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]}
RES=$?
dmsetup remove_all -f

View File

@@ -48,7 +48,7 @@ export RUSTFLAGS="$RUSTFLAGS"
# Only run with 1 thread to avoid tests interfering with one another because
# Windows has a static IP configured
time cargo nextest run --no-tests=pass $test_features "windows::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]}
time cargo nextest run --retries 3 --no-tests=pass $test_features "windows::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]}
RES=$?
dmsetup remove_all -f