1
0
mirror of https://github.com/containers/youki synced 2024-11-24 01:44:17 +01:00
youki/hack/stress_cargo_test.sh

11 lines
216 B
Bash
Executable File

#!/bin/bash -ue
# This is a simple script to stress test `cargo test` to rule out flaky tests.
COUNT=${1:-20}
for i in $(seq 1 ${COUNT})
do
echo "Run test ${i} iteration..."
cargo test -- --nocapture
done