Give 60 seconds for cosm/start.sh startup

This commit is contained in:
Ethan Frey 2020-02-03 09:47:56 +01:00
parent 10489402f8
commit 037ceebe7b

View File

@ -56,8 +56,8 @@ jobs:
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- run: # wait until cosm scripts have fully started
command: timeout 15 bash -c "until curl -s http://localhost:1317/node_info > /dev/null; do sleep 1; done"
- run: # wait until cosm scripts have fully started (this includes time for docker pull)
command: timeout 60 bash -c "until curl -s http://localhost:1317/node_info > /dev/null; do sleep 1; done"
- run:
environment:
COSMOS_ENABLED: 1