From 9028be75e0a4bfae2bfd48ce6bb18dcecad77591 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 6 Jun 2024 09:11:36 -0600 Subject: [PATCH] Merge pull request #7623 from bandi13/FixOpenSSLTest Sometimes the first call hangs because the server is not completely up --- scripts/openssl.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/openssl.test b/scripts/openssl.test index 7cbe3833a4..0be450c135 100755 --- a/scripts/openssl.test +++ b/scripts/openssl.test @@ -279,7 +279,7 @@ check_server_ready() { server_ready=0 while [ "$counter" -lt 20 ]; do echo -e "waiting for $server_name ready..." - echo -e Checking | nc localhost $server_port + echo -e Checking | nc -w 5 localhost $server_port nc_result=$? if [ $nc_result = 0 ] then