lnd: add option 'restOnionService'

This commit is contained in:
nixbitcoin 2021-02-03 22:44:43 +01:00 committed by Erik Arvstedt
parent a344ae95c9
commit ebd478fd0d
No known key found for this signature in database
GPG key ID: 33312B944DD97846
7 changed files with 68 additions and 0 deletions

View file

@ -46,6 +46,8 @@ let testEnv = rec {
tests.lnd = cfg.lnd.enable;
services.lnd.port = 9736;
tests.lnd-rest-onion-service = cfg.lnd.restOnionService.enable;
tests.lightning-loop = cfg.lightning-loop.enable;
tests.electrs = cfg.electrs.enable;
@ -115,6 +117,7 @@ let testEnv = rec {
test.features.clightningPlugins = true;
services.spark-wallet.enable = true;
services.lnd.enable = true;
services.lnd.restOnionService.enable = true;
services.lightning-loop.enable = true;
services.electrs.enable = true;
services.liquidd.enable = true;

View file

@ -162,6 +162,11 @@ def _():
assert_no_failure("lnd")
@test("lnd-rest-onion-service")
def _():
assert_matches("runuser -u operator -- lndconnect-rest-onion -j", ".onion")
@test("lightning-loop")
def _():
assert_running("lightning-loop")