Merge #209: Lightning loop
e9204946d4lightning-loop: add tests (nixbitcoin)491d83a658lightning-loop: add module (nixbitcoin)8f3588b13flnd: higher attempt limit for less-powerful machines (nixbitcoin)1bb801ad7blightning-loop: add pkg (nixbitcoin) Pull request description: ACKs for top commit: jonasnick: ACKe9204946d4Tree-SHA512: cc8bb85978350dd530c3c8d2c9aca5ddc4ab1f72cdd27d031bb303eca1d9473f18e45bc119c62bb2991faa32b3e1d42e4439f02a56ab3a6b975b0bd491195604
This commit is contained in:
commit
0baeb2acce
15 changed files with 176 additions and 2 deletions
|
|
@ -88,3 +88,13 @@ succeed("systemctl stop nanopos lightning-charge spark-wallet clightning")
|
|||
succeed("systemctl start lnd")
|
||||
assert_matches("su operator -c 'lncli getinfo' | jq", '"version"')
|
||||
assert_no_failure("lnd")
|
||||
|
||||
### Test loopd
|
||||
|
||||
succeed("systemctl start 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
|
||||
machine.wait_until_succeeds(
|
||||
log_has_string("lightning-loop", "chain notifier RPC isstill in the process of starting")
|
||||
)
|
||||
|
|
|
|||
|
|
@ -150,3 +150,13 @@ succeed("systemctl stop nanopos lightning-charge spark-wallet clightning")
|
|||
succeed("systemctl start lnd")
|
||||
assert_matches("su operator -c 'lncli getinfo' | jq", '"version"')
|
||||
assert_no_failure("lnd")
|
||||
|
||||
### Test loopd
|
||||
|
||||
succeed("systemctl start 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
|
||||
machine.wait_until_succeeds(
|
||||
log_has_string("lightning-loop", "chain notifier RPC isstill in the process of starting")
|
||||
)
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ import ./make-test.nix rec {
|
|||
|
||||
services.lnd.enable = true;
|
||||
systemd.services.lnd.wantedBy = mkForce [];
|
||||
services.lightning-loop.enable = true;
|
||||
systemd.services.lightning-loop.wantedBy = mkForce [];
|
||||
|
||||
services.electrs.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue