tests: simplify lightning-loop test

This commit is contained in:
nixbitcoin 2020-09-24 16:39:18 +00:00
parent e7c5f956ea
commit 24b506ff8a
No known key found for this signature in database
GPG Key ID: DD11F9AD5308B3BA
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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;