1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-05-18 05:26:13 +02:00

Adds a simple script to stress test cargo test

This commit is contained in:
yihuaf 2021-09-06 22:50:17 +02:00
parent 9aaeb4f40d
commit ca5a21f5c4

11
hack/stress_cargo_test.sh Executable file
View File

@ -0,0 +1,11 @@
#!/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