forked from wolfSSL/wolfssl
Merge pull request #7623 from bandi13/FixOpenSSLTest
Sometimes the first call hangs because the server is not completely up
This commit is contained in:
@@ -279,7 +279,7 @@ check_server_ready() {
|
|||||||
server_ready=0
|
server_ready=0
|
||||||
while [ "$counter" -lt 20 ]; do
|
while [ "$counter" -lt 20 ]; do
|
||||||
echo -e "waiting for $server_name ready..."
|
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=$?
|
nc_result=$?
|
||||||
if [ $nc_result = 0 ]
|
if [ $nc_result = 0 ]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user