Merge pull request #7623 from bandi13/FixOpenSSLTest

Sometimes the first call hangs because the server is not completely up
This commit is contained in:
JacobBarthelmeh
2024-06-06 09:11:36 -06:00
committed by GitHub

View File

@ -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