Skip to content

Commit 6c80080

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

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
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. This is known to affect MacOS users running tests locally. 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)