diff --git a/daemon/test/test.sh b/daemon/test/test.sh index 9cd89fd9a..988dda3b0 100755 --- a/daemon/test/test.sh +++ b/daemon/test/test.sh @@ -724,7 +724,9 @@ if [ -n "$MANUALCOMMIT" ]; then fi [ ! -n "$MANUALCOMMIT" ] || lcli1 dev-commit $ID2 -check lcli1 "getlog debug | $FGREP 'Both committed to FULFILL of our HTLC'" +# If we're very slow, manually committed above, and we're restarting, +# we may restart *after* this and thus not see it in the log. +[ "$RECONNECT$MANUALCOMMIT" = restart1 ] || check lcli1 "getlog debug | $FGREP 'Both committed to FULFILL of our HTLC'" check lcli2 "getlog debug | $FGREP 'Both committed to FULFILL of their HTLC'" # We've transferred the HTLC amount to 2, who now has to pay fees,