From 3cc0dd0d1eb4f4f703f03bd922c609f146ea2bba Mon Sep 17 00:00:00 2001 From: Rob Walker Date: Wed, 28 Nov 2018 16:54:05 -0800 Subject: [PATCH] stabilize testing with --test-threads=1 --- ci/test-nightly.sh | 2 +- ci/test-stable-perf.sh | 2 +- ci/test-stable.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/test-nightly.sh b/ci/test-nightly.sh index 1402afc063..7cdec701b3 100755 --- a/ci/test-nightly.sh +++ b/ci/test-nightly.sh @@ -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 diff --git a/ci/test-stable-perf.sh b/ci/test-stable-perf.sh index 4d69f9c825..fc9881b3ac 100755 --- a/ci/test-stable-perf.sh +++ b/ci/test-stable-perf.sh @@ -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 diff --git a/ci/test-stable.sh b/ci/test-stable.sh index 92428a6871..3278d63e0c 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -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