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:
parent
9aaeb4f40d
commit
ca5a21f5c4
|
@ -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
|
Loading…
Reference in New Issue