Skip to content

Commit 3c057ab

Browse files
committed
update docs on testnet tests
1 parent 02ffca7 commit 3c057ab

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/testing.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ To run client rpc test `get_subtree_roots_orchard`:
3434
See the `get_subtree_roots_orchard` test fixture doc comments in infrastructure for more details.
3535

3636
- TESTNET TESTS:
37-
the testnet tests are temporary and will be replaced with regtest as soon as (https://github.com/zingolabs/zaino/issues/231) is resolved.
38-
In the mean time, these tests can be ran, but it is a fiddly process. First, it needs a zebrad fully synced to testnet (depending
39-
on internet speed, etc., this could take 10+ hours). Then, the tests must be run 1 at a time (passing `--no-capture` will enforce this).
40-
Furthermore, due to https://github.com/zingolabs/infrastructure/issues/43, sometimes a zebrad will persist past the end of the test and
41-
hold a lock on the testnet cache, causing all remaining tests to fail. This process must be stopped manually, in order to allow testnet
42-
tests to work again.
37+
The testnet tests are temporary and will be replaced with regtest as soon as (https://github.com/zingolabs/zaino/issues/231) is resolved.
38+
In the mean time, these tests can be ran, but it is a fiddly process. First, it needs a zebrad fully synced to testnet (depending on internet speed, etc., this could take 10+ hours).
39+
To build the zebra testnet cache, the best way is to use zebra directly. With `zebrad` already in `$PATH` and from the `zaino/` directory run `zebrad --config ./zainod/zebrad.toml start`.
40+
Then, the tests must be run 1 at a time (passing `--no-capture` will enforce this).
41+
Furthermore, due to https://github.com/zingolabs/infrastructure/issues/43, sometimes a zebrad may persist past the end of the test and hold a lock on the testnet cache, causing remaining tests to fail. This process can be stopped manually, in order to allow testnet tests to work again.

0 commit comments

Comments
 (0)