Use 0.5s timeout consistently for all background scripts
This commit is contained in:
parent
dcc68c4a96
commit
a96b120a3f
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user