From b79c3b31c6b90a5201fedfa42c0c6d117c1dc245 Mon Sep 17 00:00:00 2001 From: Luca Pasquali Date: Mon, 1 Feb 2021 17:59:27 +0100 Subject: [PATCH] added ./run_tests.sh to comply Dockerfile --- run_tests.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 run_tests.sh diff --git a/run_tests.sh b/run_tests.sh new file mode 100755 index 0000000..da7c1dc --- /dev/null +++ b/run_tests.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +CURL=$(which curl) +catalina.sh start +sleep 4 +#$CURL --retry-delay 1 --retry 60 -X GET "http://$HOSTNAME:8080/geoserver/rest/about/manifest" -H "accept: application/json" -H "content-type: application/json" +#$CURL --retry-delay 1 --retry 60 -X GET "http://$HOSTNAME:8080/geoserver/rest/layers" -H "accept: application/json" -H "content-type: application/json" +$CURL -I -s --retry-delay 1 --retry 60 -X GET "http://$HOSTNAME:8080/geoserver/wms?service=wms&version=1.1.1&request=GetCapabilities"