Commit 17654d06 authored by Georgios Konstantopoulos's avatar Georgios Konstantopoulos Committed by GitHub

ci: add 90s timeout when waiting for sequencer to be up (#510)

parent 2c68780b
#!/bin/bash #!/bin/bash
CONTAINER=l2geth CONTAINER=l2geth
RETRIES=30
i=0
until docker-compose logs l2geth | grep -q "Starting Sequencer Loop"; until docker-compose logs l2geth | grep -q "Starting Sequencer Loop";
do do
sleep 3 sleep 3
if [ $i -eq $RETRIES ]; then
echo 'Timed out waiting for sequencer'
break
fi
echo 'Waiting for sequencer...' echo 'Waiting for sequencer...'
((i=i+1))
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment