tests: simplify lightning-loop test
This commit is contained in:
parent
e7c5f956ea
commit
24b506ff8a
@ -73,7 +73,7 @@ def run_tests(extra_tests):
|
||||
assert_matches("su operator -c 'lncli getinfo' | jq", '"version"')
|
||||
assert_no_failure("lnd")
|
||||
|
||||
succeed("systemctl start lightning-loop")
|
||||
assert_running("lightning-loop")
|
||||
assert_matches("su operator -c 'loop --version'", "version")
|
||||
# Check that lightning-loop fails with the right error, making sure
|
||||
# lightning-loop can connect to lnd
|
||||
|
@ -31,9 +31,6 @@ import ./make-test.nix rec {
|
||||
services.lnd.enable = true;
|
||||
services.lnd.listenPort = 9736;
|
||||
services.lightning-loop.enable = true;
|
||||
# needed because we must control when lightning-loop starts so it doesn't
|
||||
# fail before we run commands in the nb-lightning-loop netns
|
||||
systemd.services.lightning-loop.wantedBy = mkForce [];
|
||||
|
||||
services.electrs.enable = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user