1
0
mirror of https://github.com/containers/youki synced 2024-11-23 09:21:57 +01:00
youki/hack/stress_cargo_test.sh
Eric Fang 3a790dffe9
Using typos-cli to catch typos + fixes for existing typos (#2018)
* adds a typos configuration file

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix all the typos

Signed-off-by: yihuaf <yihuaf@unkies.org>

* add typos to justfile and CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-08 10:19:17 +05:30

12 lines
238 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# 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