From e61d7b1d463263bee1a0dd9a8761704ae8074f86 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sun, 18 Oct 2020 22:36:33 +0200 Subject: [PATCH] test: improve lightning-loop regtest --- test/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/tests.py b/test/tests.py index 94a723d..ea3b3ad 100644 --- a/test/tests.py +++ b/test/tests.py @@ -344,7 +344,10 @@ def _(): "[[ $(sudo -u operator lncli getinfo | jq -M .block_height) == 10 ]]" ) 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: