From be0a2ad79f7c7e4b45a984c7bf4a302628bb72ac Mon Sep 17 00:00:00 2001 From: Raneet Debnath Date: Fri, 25 Nov 2022 11:24:56 +0530 Subject: [PATCH] CI: test launch devnet without hardcoded sleep time (pos-534) --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5bb62a8bb..0497515e3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: - "master" - "qa" - "develop" + - "raneet10/pos-534" # RMV! pull_request: branches: - "**" @@ -142,11 +143,9 @@ jobs: bash docker-heimdall-start-all.sh bash docker-bor-setup.sh bash docker-bor-start-all.sh - sleep 120 && bash ganache-deployment-bor.sh - sleep 120 && bash ganache-deployment-sync.sh - sleep 120 - docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'admin.peers'" - docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'eth.blockNumber'" + timeout 2m bash bor/integration-tests/bor_health.sh + bash ganache-deployment-bor.sh + bash ganache-deployment-sync.sh - name: Run smoke tests run: |