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

More debug messages in integration tests

parent 19d443b6
Branches bugfix-cspp-ctypes-libffi
Tags buildbucket-shellb3-gcc7-cspp-v20190202
No related merge requests found
......@@ -180,13 +180,18 @@ run_mapserver_postgres_checks() {
fi
all_times=$(run_remote_curl_pod "${MAPSERVER_RELEASE_NAME}3" "http://${MAPSERVER_RELEASE_NAME}.${ns}/wms_times/g16/abi/radm1/C01?order=DESC")
echo "All times: ${all_times}"
one_time=$(run_remote_curl_pod "${MAPSERVER_RELEASE_NAME}4" "http://${MAPSERVER_RELEASE_NAME}.${ns}/wms_times/g16/abi/radm1/C01?order=ASC&num_times=1" | wc -m)
two_time=$(run_remote_curl_pod "${MAPSERVER_RELEASE_NAME}5" "http://${MAPSERVER_RELEASE_NAME}.${ns}/wms_times/g16/abi/radm1/C01?order=ASC&num_times=2" | wc -m)
debug "MapServer one time size: ${one_time}"
debug "MapServer two time size: ${two_time}"
debug "All times: ${all_times}"
debug "All times size: $(echo -n $all_times | wc -m)"
one_time=$(run_remote_curl_pod "${MAPSERVER_RELEASE_NAME}4" "http://${MAPSERVER_RELEASE_NAME}.${ns}/wms_times/g16/abi/radm1/C01?order=ASC&num_times=1")
two_time=$(run_remote_curl_pod "${MAPSERVER_RELEASE_NAME}5" "http://${MAPSERVER_RELEASE_NAME}.${ns}/wms_times/g16/abi/radm1/C01?order=ASC&num_times=2")
one_time_size=$(echo -n $one_time | wc -m)
two_time_size=$(echo -n $two_time | wc -m)
debug "Mapserver one time value: \"${one_time}\""
debug "Mapserver two time value: \"${two_time}\""
debug "MapServer one time size: ${one_time_size}"
debug "MapServer two time size: ${two_time_size}"
# ["2020-12-25T15:29:25"] + newline(?)
if [[ ${one_time} -ne 24 ]]; then
if [[ ${one_time_size} -ne 24 ]]; then
return 1
fi
# ["2020-12-25T15:29:25", "2020-12-25T15:30:28"]
......
......@@ -9,7 +9,6 @@
- echo "export KUBECONFIG=\"$kubekorner_k3s_config\"" >> $ENV_FILE
- echo "export HELM_EXPERIMENTAL_OCI=\"1\"" >> $ENV_FILE
- source $ENV_FILE
- ls -l /google-cloud-sdk/bin/kubectl*
- docker info
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- if [[ $CI_COMMIT_TAG =~ ^gamma-test-r[0-9]+_[0-9]+ ]]; then
......
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