From 48734a6b6347d39284a605fe4203d8c1b5cf8c89 Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Tue, 30 Jul 2024 19:43:55 +0530 Subject: [PATCH] fix: add sleep for lnd to sync with latest block --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4f81af12..aec1bbed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,6 +47,9 @@ jobs: echo "New Wallet Address: $address" docker exec $container_id bitcoin-cli -regtest -rpcuser=user -rpcpassword=pass generatetoaddress 101 "$address" docker exec $container_id bitcoin-cli -regtest -rpcuser=user -rpcpassword=pass sendtoaddress bcrt1pcngfxjdkf4r2h26k52dh5nunxg8m68uf4lkfhmfjvjj6agfkm5jqmftw4e 0.0001 + - name: Wait for services to be ready + run: | + sleep 60 # Wait for lnd to sync with latest block - name: Verify LND nodes and create a channel between them run: | container_id_alice=$(docker ps -qf "name=mercurylayer_alice_1")