stabilize testing with --test-threads=1
This commit is contained in:
parent
fa359c6fc4
commit
3cc0dd0d1e
|
@ -13,7 +13,7 @@ _() {
|
|||
}
|
||||
|
||||
# Uncomment this to run nightly test suit
|
||||
# _ cargo test --verbose --features=unstable
|
||||
# _ cargo test --verbose --features=unstable -- --test-threads=1
|
||||
|
||||
maybe_cargo_install() {
|
||||
for cmd in "$@"; do
|
||||
|
|
|
@ -24,7 +24,7 @@ source ./target/perf-libs/env.sh
|
|||
|
||||
FEATURES=bpf_c,cuda,erasure,chacha
|
||||
_ cargo build --all --verbose --features="$FEATURES"
|
||||
_ cargo test --verbose --features="$FEATURES" --lib
|
||||
_ cargo test --verbose --features="$FEATURES" --lib -- --nocapture --test-threads=1
|
||||
|
||||
# Run integration tests serially
|
||||
for test in tests/*.rs; do
|
||||
|
|
|
@ -18,7 +18,7 @@ if [[ $(ulimit -n) -lt 65000 ]]; then
|
|||
fi
|
||||
|
||||
_ cargo build --all --verbose
|
||||
_ cargo test --verbose --lib -- --nocapture
|
||||
_ cargo test --verbose --lib -- --nocapture --test-threads=1
|
||||
|
||||
# Run integration tests serially
|
||||
for test in tests/*.rs; do
|
||||
|
|
Loading…
Reference in New Issue