diff --git a/test/tests.nix b/test/tests.nix index 7456a90..799328f 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -52,6 +52,7 @@ let testEnv = rec { environment.systemPackages = mkIfTest "btcpayserver" (with pkgs; [ openssl xxd ]); tests.joinmarket = cfg.joinmarket.enable; + tests.joinmarket-yieldgenerator = cfg.joinmarket.yieldgenerator.enable; services.joinmarket.yieldgenerator = { enable = config.services.joinmarket.enable; customParameters = '' diff --git a/test/tests.py b/test/tests.py index 6d1f2e3..7d0409a 100644 --- a/test/tests.py +++ b/test/tests.py @@ -206,6 +206,10 @@ def _(): machine.wait_until_succeeds( log_has_string("joinmarket", "P2EPDaemonServerProtocolFactory starting on 27184") ) + + +@test("joinmarket-yieldgenerator") +def _(): machine.wait_until_succeeds( log_has_string("joinmarket-yieldgenerator", "Failure to get blockheight",) )