Skip to content

Commit 4cbab45

Browse files
committed
docs: to README.md add tests troubleshooting (run in series)
1 parent 3bc45b5 commit 4cbab45

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,20 @@ cargo update -p indexmap --precise "2.5.0"
8080
cargo update -p security-framework-sys --precise "2.11.1"
8181
```
8282

83+
## Troubleshooting Tests
84+
85+
If tests are failing with `cargo test` it could be an issue related to tests that use bitcoind or electrsd running in parallel. To force tests to run in series you can try:
86+
87+
```
88+
cargo test -- --test-threads=1
89+
```
90+
91+
or
92+
93+
```
94+
RUST_TEST_THREADS=1 cargo test
95+
```
96+
8397
## License
8498

8599
Licensed under either of

0 commit comments

Comments
 (0)