From 39d2271fbc2ca7025a56a9e661414007f36fa362 Mon Sep 17 00:00:00 2001 From: mxmlnkn Date: Mon, 7 Oct 2024 19:38:30 +0200 Subject: [PATCH] [test] Fix HTTP server setup issue --- tests/runtests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/runtests.sh b/tests/runtests.sh index 6e228b55..94fb74f5 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -1860,7 +1860,8 @@ checkURLProtocolHTTP() ruby -run -e httpd --version || returnError "$LINENO" 'Failed to start up ruby HTTP test server!' ruby -run -e httpd . --port $port --bind-address=127.0.0.1 1>'httpd-ruby-webrick.log' 2>&1 & pid=$! - sleep 5 + sleep 10 + cat httpd-ruby-webrick.log wget 127.0.0.1:$port