mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
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:
parent
954557354d
commit
c015401f8c
@ -41,7 +41,7 @@ function _print_instance_type() {
|
||||
small)
|
||||
echo "Standard_D2s_v5"
|
||||
;;
|
||||
normal)
|
||||
all|normal)
|
||||
echo "Standard_D4s_v5"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user