From 945482ff6e8b2b17c001ff85f00f6af28d4580e9 Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Fri, 25 Apr 2025 18:56:00 -0300 Subject: [PATCH] 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 --- tests/gha-run-k8s-common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gha-run-k8s-common.sh b/tests/gha-run-k8s-common.sh index d175e38c1d..e461e74e1b 100644 --- a/tests/gha-run-k8s-common.sh +++ b/tests/gha-run-k8s-common.sh @@ -41,7 +41,7 @@ function _print_instance_type() { small) echo "Standard_D2s_v5" ;; - normal) + all|normal) echo "Standard_D4s_v5" ;; *)