From d4b9af65992f802023a623c9bfabc6f528304080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hendrik=20S=C3=B6bbing?= Date: Mon, 18 Dec 2023 14:00:01 +0100 Subject: [PATCH] Increase wait time for instance start --- examples/influxdb/.test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/influxdb/.test.sh b/examples/influxdb/.test.sh index 9b79b708f..ce2c18335 100755 --- a/examples/influxdb/.test.sh +++ b/examples/influxdb/.test.sh @@ -12,10 +12,10 @@ function stop() { trap stop EXIT # We test for the none-default port, configured in the nix file -timeout 10 bash -c 'until echo > /dev/tcp/localhost/8087; do sleep 0.5; done' +timeout 60 bash -c 'until echo > /dev/tcp/localhost/8087; do sleep 0.5; done' -influx --execute "CREATE DATABASE devenv" -DATABASES=$(influx --execute "SHOW DATABASES" | grep devenv) +influx --port 8087 --execute "CREATE DATABASE devenv" +DATABASES=$(influx --port 8087 --execute "SHOW DATABASES" | grep devenv) if [[ "$DATABASES" != "devenv" ]]; then echo "The influxdb database was not created"