test: extract test 'joinmarket-yieldgenerator'
Needed for regtest scenario.
This commit is contained in:
parent
06b2ec5b02
commit
eb42fc8e06
@ -52,6 +52,7 @@ let testEnv = rec {
|
|||||||
environment.systemPackages = mkIfTest "btcpayserver" (with pkgs; [ openssl xxd ]);
|
environment.systemPackages = mkIfTest "btcpayserver" (with pkgs; [ openssl xxd ]);
|
||||||
|
|
||||||
tests.joinmarket = cfg.joinmarket.enable;
|
tests.joinmarket = cfg.joinmarket.enable;
|
||||||
|
tests.joinmarket-yieldgenerator = cfg.joinmarket.yieldgenerator.enable;
|
||||||
services.joinmarket.yieldgenerator = {
|
services.joinmarket.yieldgenerator = {
|
||||||
enable = config.services.joinmarket.enable;
|
enable = config.services.joinmarket.enable;
|
||||||
customParameters = ''
|
customParameters = ''
|
||||||
|
@ -206,6 +206,10 @@ def _():
|
|||||||
machine.wait_until_succeeds(
|
machine.wait_until_succeeds(
|
||||||
log_has_string("joinmarket", "P2EPDaemonServerProtocolFactory starting on 27184")
|
log_has_string("joinmarket", "P2EPDaemonServerProtocolFactory starting on 27184")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@test("joinmarket-yieldgenerator")
|
||||||
|
def _():
|
||||||
machine.wait_until_succeeds(
|
machine.wait_until_succeeds(
|
||||||
log_has_string("joinmarket-yieldgenerator", "Failure to get blockheight",)
|
log_has_string("joinmarket-yieldgenerator", "Failure to get blockheight",)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user