test: improve lightning-loop regtest

This commit is contained in:
Erik Arvstedt 2020-10-18 22:36:33 +02:00 committed by nixbitcoin
parent 486f385fdd
commit e61d7b1d46
No known key found for this signature in database
GPG Key ID: DD11F9AD5308B3BA

View File

@ -344,7 +344,10 @@ def _():
"[[ $(sudo -u operator lncli getinfo | jq -M .block_height) == 10 ]]" "[[ $(sudo -u operator lncli getinfo | jq -M .block_height) == 10 ]]"
) )
if "lightning-loop" in enabled_tests: if "lightning-loop" in enabled_tests:
machine.wait_until_succeeds(log_has_string("lightning-loop", "Connected to lnd node")) machine.wait_until_succeeds(
log_has_string("lightning-loop", "Starting event loop at height 10")
)
succeed("sudo -u operator loop getparams | jq -e '.rules'")
if "netns-isolation" in enabled_tests: if "netns-isolation" in enabled_tests: