mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
12 lines
254 B
Plaintext
12 lines
254 B
Plaintext
|
#!/bin/bash
|
||
|
set -eo pipefail
|
||
|
|
||
|
. e2e/variables
|
||
|
|
||
|
HOST=${HOST:-$DEFAULT_HOST}
|
||
|
PORT=${PORT:-$DEFAULT_PORT}
|
||
|
|
||
|
echo -e "Waiting for grafana-server to finish starting, host=$HOST, port=$PORT"
|
||
|
|
||
|
timeout 60 bash -c 'until nc -z $0 $1; do sleep 1; done' $HOST $PORT
|