forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
254 B
11 lines
254 B
#!/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
|
|
|