Use 0.5s timeout consistently for all background scripts

This commit is contained in:
Simon Warta 2020-08-10 07:40:30 +02:00
parent dcc68c4a96
commit a96b120a3f
3 changed files with 5 additions and 2 deletions

View File

@ -34,6 +34,9 @@ docker run --rm \
echo "simd running on http://localhost:$TENDERMINT_PORT_HOST and logging into $SIMD_LOGFILE"
if [ -n "${CI:-}" ]; then
# Give process some time to come alive. No idea why this helps. Needed for CI.
sleep 0.5
# Follow the logs in CI's background job
tail -f "$SIMD_LOGFILE"
fi

View File

@ -42,8 +42,8 @@ docker run --rm \
echo "Tendermint running and logging into $LOGFILE"
# Give REST server some time to come alive. No idea why this helps. Needed for CI.
if [ -n "${CI:-}" ]; then
# Give process some time to come alive. No idea why this helps. Needed for CI.
sleep 0.5
# Follow the logs in CI's background job

View File

@ -55,8 +55,8 @@ docker exec "$CONTAINER_NAME" \
echo "rest server running on http://localhost:$LCD_API_PORT_HOST and logging into $REST_SERVER_LOGFILE"
# Give REST server some time to come alive. No idea why this helps. Needed for CI.
if [ -n "${CI:-}" ]; then
# Give process some time to come alive. No idea why this helps. Needed for CI.
sleep 0.5
# Follow the logs in CI's background job