Fix test-setup LND sync check on regtest
Mine a block before running checks to wake up LND sync status. On regtest, LND reports "synced_to_chain: false" when no blocks have been mined recently, even though it's actually synced. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e7f32b92f9
commit
690b1548ca
1 changed files with 5 additions and 0 deletions
|
|
@ -320,6 +320,11 @@
|
||||||
echo "═══════════════════════════════════════════════════════════"
|
echo "═══════════════════════════════════════════════════════════"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
# Mine a block to wake up LND sync (regtest quirk: LND reports
|
||||||
|
# "not synced" when no blocks mined recently)
|
||||||
|
docker exec lamassu-bitcoind bitcoin-cli -regtest -rpcuser=lamassu -rpcpassword=lamassu -generate 1 >/dev/null 2>&1
|
||||||
|
sleep 1
|
||||||
|
|
||||||
PASSED=0
|
PASSED=0
|
||||||
FAILED=0
|
FAILED=0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue