From: Vihiga Tyonum Date: Tue, 7 Jul 2026 19:54:21 +0000 (+0100) Subject: fix(Justfile): fix test-threads to max 2 X-Git-Url: http://internal-gitweb-vhost/blockdata/script/encode/-script/display/struct.ChainCode.html?a=commitdiff_plain;h=b4e10817018a901487058f81c031da88323eea7d;p=bdk-cli fix(Justfile): fix test-threads to max 2 - The problem: When running `cargo test --all- features`, the backends (electrum, rpc, esplora from TestEnv) run in parallel at the number of cpus available and exhaust the processes/ports available, thereby resulting in os error 35. This fix limits the number of threads that are available for the tests to run in parallel. --- diff --git a/Justfile b/Justfile index 163efca..df04921 100644 --- a/Justfile +++ b/Justfile @@ -28,7 +28,7 @@ test: pre-push: cargo test --features default cargo test --no-default-features - cargo test --all-features + cargo test --all-features -- --test-threads=2 cargo clippy --no-default-features --all-targets -- -D warnings cargo clippy --all-features --all-targets -- -D warnings cargo fmt --all -- --check