mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
22eb2df602
* Rename to grafana-server / move scripts into new directory * Change grafana-server step command * Change scripts paths * Use test grabpl version * Update run-suite script * Further name updates * Update grabpl version * Update contribute/style-guides/e2e-core.md Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com> Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>
12 lines
273 B
Bash
Executable File
12 lines
273 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
. scripts/grafana-server/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
|