Commit 4f5ee42
committed
feat(test): roll a custom
Implement a custom `TestEnv`, which is instantiated per-test and
fixes the un-dropped `bitcoind` issue. This also allows running
tests with more than 1 thread, since they no longer share `bitcoind`
and `electrsd` instances.
Also adds helpers to fetch externally sourced addresses, fixing
the issue where `bitcoind`'s wallet would send change outputs to
it's own wallet address, which would mess with `test_get_scripthash_stats`.
The `test` recipe and CI job are updated to now use 16 threads.TestEnv and drop lazy_static
1 parent ebdbd9a commit 4f5ee42
File tree
4 files changed
+330
-343
lines changed- .github/workflows
- src
4 files changed
+330
-343
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
0 commit comments