Skip to content

Commit

Permalink
Replace chain wait condition with the script
Browse files Browse the repository at this point in the history
  • Loading branch information
askolesov committed Dec 6, 2021
1 parent feaa995 commit cb438cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
run: |
./gen_node_configs.sh
./run_docker.sh
./wait.sh '[[ $(curl -s -N localhost:26657/block | jq -cr '"'"'.result.block.last_commit.height'"'"') -gt 1 ]] && echo "Height is more than 1"'
bash tests/networks/wait_for_chain.sh
- name: Add observer node
working-directory: ./tests/networks/docker_compose
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
run: |
./gen_node_configs.sh
./run_docker.sh
./wait.sh '[[ $(curl -s -N localhost:26657/block | jq -cr '"'"'.result.block.last_commit.height'"'"') -gt 1 ]] && echo "Height is more than 1"'
bash tests/networks/wait_for_chain.sh
- name: Set up test environment
working-directory: ./tests/e2e
Expand Down

0 comments on commit cb438cb

Please # to comment.