diff --git a/scripts/run_integration_tests_vfio.sh b/scripts/run_integration_tests_vfio.sh index eecd3111b..3f1b26778 100755 --- a/scripts/run_integration_tests_vfio.sh +++ b/scripts/run_integration_tests_vfio.sh @@ -31,12 +31,12 @@ export RUST_BACKTRACE=1 export RUSTFLAGS="$RUSTFLAGS" # Run VFIO tests using legacy vfio interface with container/group -time cargo nextest run --no-tests=pass --test-threads=1 "vfio::test_nvidia" -- ${test_binary_args[*]} +time cargo nextest run --retries 3 --no-tests=pass --test-threads=1 "vfio::test_nvidia" -- ${test_binary_args[*]} RES=$? # Run VFIO tests using vfio cdev interface backed by iommufd if [ $RES -eq 0 ]; then - time cargo nextest run --no-tests=pass --test-threads=1 "vfio::test_iommufd" -- ${test_binary_args[*]} + time cargo nextest run --retries 3 --no-tests=pass --test-threads=1 "vfio::test_iommufd" -- ${test_binary_args[*]} RES=$? fi