Skip to content
Snippets Groups Projects
Verified Commit 77db69bd authored by David Hoese's avatar David Hoese
Browse files

More refactoring on test_mapserver_image.sh

parent 2487af18
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,12 @@ curl_index() {
curl --fail -sS --max-time 5 "http://localhost:8888/" >/dev/null
}
curl_layer_times() {
debug "Starting curl basic time request..."
# NOTE: The time doesn't actually exist and no image data is available. A blank image should be returned
curl --fail -sS "http://localhost:8888/wms_times/g16/abi/radf/C01" >/dev/null
}
curl_empty_tile() {
debug "Starting curl basic mapfile request..."
# NOTE: The time doesn't actually exist and no image data is available. A blank image should be returned
......@@ -56,6 +62,7 @@ run_basic_shapefile_tests() {
debug "Starting shapefile tests..."
start_test_container || sf_exit_status=1
curl_index || sf_exit_status=1
curl_layer_times || sf_exit_status=1
curl_empty_tile || sf_exit_status=1
kill_test_container
......@@ -68,6 +75,7 @@ run_basic_postgres_tests() {
start_test_container -e POSTGRES_HOST=localhost -e POSTGRES_PASSWORD_FILE="/secrets/fake_file" || pg_exit_status=1
add_shapefile_content
curl_index || pg_exit_status=1
# curl_layer_times || sf_exit_status=1
curl_empty_tile || pg_exit_status=1
kill_test_container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment