From 5e1a5a65c5d8c9b2e14153c9672ab1e0f4085f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Trifir=C3=B2?= Date: Tue, 13 Aug 2024 20:27:58 +0200 Subject: [PATCH] smoke test: kill server on timeout --- extras/smoke-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/smoke-test.sh b/extras/smoke-test.sh index f03edea4f6192..15bcd6b1984fa 100644 --- a/extras/smoke-test.sh +++ b/extras/smoke-test.sh @@ -22,6 +22,7 @@ function wait_for(){ max_retries=$((max_retries-1)) if [[ max_retries -le 0 ]]; then echo "Timed out waiting for $name server" >&2 + kill -9 ${server_pid} exit 1 fi done