From 3f4d431f7b3c1801dfd05e31d436a50f656afd6f Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 14 Aug 2023 07:00:29 +0100 Subject: [PATCH] Set max time to 60 seconds. --- testing/api-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/api-test.sh b/testing/api-test.sh index df3b9be..1f04525 100755 --- a/testing/api-test.sh +++ b/testing/api-test.sh @@ -1,6 +1,6 @@ #!/bin/bash -CURLOPTS=(-i -s -S -o /dev/null -f -w "%{http_code}\tTime:\t%{time_starttransfer}\t%{url_effective}\n") +CURLOPTS=(-i -s -S --max-time 60 -o /dev/null -f -w "%{http_code}\tTime:\t%{time_starttransfer}\t%{url_effective}\n") HOST="127.0.0.1:8080" # Healthcheck Test