tests: make _print_instance_type() to handle "all" host type

_print_instance_type() returns the instance type of the AKS nodes, based
on the host type. Tests are grouped per host type in "small" and "normal"
sets based on the CPU requirements: "small" tests require few CPUs and
"normal" more.

There is an 3rd case: "all" host type maps to the union of "small"
and "normal" tests, which should be handled by _print_instance_type()
properly. In this case, it should return the largest instance type
possible because "normal" tests  will be executed too.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
Wainer dos Santos Moschetta 2025-04-25 18:56:00 -03:00
parent 954557354d
commit c015401f8c

View File

@ -41,7 +41,7 @@ function _print_instance_type() {
small)
echo "Standard_D2s_v5"
;;
normal)
all|normal)
echo "Standard_D4s_v5"
;;
*)