diff --git a/meta-cassini-tests/recipes-tests/runtime-integration-tests/files/run-command.expect b/meta-cassini-tests/recipes-tests/runtime-integration-tests/files/run-command.expect index 0ad18803950ff1f30d044a59ebd06fc94362226c..f80580aec08db60aebb3e06a49c0d445e51f53df 100644 --- a/meta-cassini-tests/recipes-tests/runtime-integration-tests/files/run-command.expect +++ b/meta-cassini-tests/recipes-tests/runtime-integration-tests/files/run-command.expect @@ -51,7 +51,7 @@ # Defaults: set hostname [info hostname] set user "$env(USER)" -set timeout 60 +set timeout 180 # This variable holds the string used for cleaning the terminal buffer, # required when attaching to a console that may contain a garbled buffer. diff --git a/meta-cassini-tests/recipes-tests/runtime-integration-tests/k3s-integration-tests/k3s-funcs.sh b/meta-cassini-tests/recipes-tests/runtime-integration-tests/k3s-integration-tests/k3s-funcs.sh index b6a4420dceafbfb2fe990685d1c04e1ae29ec108..88b490b818832f18261eeeafa90a4b146aa9f520 100644 --- a/meta-cassini-tests/recipes-tests/runtime-integration-tests/k3s-integration-tests/k3s-funcs.sh +++ b/meta-cassini-tests/recipes-tests/runtime-integration-tests/k3s-integration-tests/k3s-funcs.sh @@ -43,7 +43,7 @@ pod_does_not_exist() { status="" - _run kubectl_query "pod" "${1}" "{.status.phase}" + _run query_kubectl "pod" "${1}" "{.status.phase}" if [ "${status}" -eq 0 ]; then # The pod still exists return 1 @@ -75,7 +75,7 @@ wait_for_deployment_to_be_running() { excluded_pods="${2}" expected_pod_count=$(wc -w <<< "${excluded_pods}") - _run wait_for_success 60 10 check_running_pod_count_with_exclusions \ + _run wait_for_success 180 10 check_running_pod_count_with_exclusions \ "${1}" "${expected_pod_count}" "${excluded_pods}" if [ "${status}" -ne 0 ]; then echo -n "Timeout reached before ${expected_pod_count} new" @@ -90,7 +90,7 @@ wait_for_deployment_to_be_running() { # Second argument is the port to use to query each IP check_service_is_accessible() { for ip in ${1}; do - _run wait_for_success 60 10 get_from_url "http://${ip}" "${2}" + _run wait_for_success 180 10 get_from_url "http://${ip}" "${2}" if [ "${status}" -ne 0 ]; then echo "${output}" echo "Timeout reached before http://${ip} responded on port ${2}" @@ -185,7 +185,7 @@ test_application_pod_image() { confirm_image_of_application_pods() { pod_index=0 - wait_for_success 60 10 test_application_pod_image "${1}" "${2}" \ + wait_for_success 180 10 test_application_pod_image "${1}" "${2}" \ "${pod_index}" } @@ -291,7 +291,7 @@ remove_k3s_test_deployment() { continue fi - run_ wait_for_success 60 10 pod_does_not_exist "${pod_name}" + _run wait_for_success 180 10 pod_does_not_exist "${pod_name}" if [ "${status}" -ne 0 ]; then echo "Failed to delete the k3s-test Deployment" return 1