1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-05-28 10:26:07 +02: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