From 23092352b7fc8d41fbacb43afa98ea427eb05dd5 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Mon, 20 Nov 2023 10:40:19 +0100 Subject: [PATCH] fix: Move functests to u1.large instancetypes After fixing the missing requirements on windows.11 preferences, they now need at least 2 vCPUs to pass the functional tests. Signed-off-by: Felix Matouschek --- scripts/functest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/functest.sh b/scripts/functest.sh index 5d3ea456..e7f0ad1d 100755 --- a/scripts/functest.sh +++ b/scripts/functest.sh @@ -35,9 +35,9 @@ for preference in $(${KUBECTL} get virtualmachineclusterpreferences --no-headers fi fi - # Ensure a VirtualMachine can be created when enough resources are provided using the u1.medium instance type - if ! ${VIRTCTL} create vm --instancetype u1.medium --preference "${preference}" --volume-containerdisk name:disk,src:quay.io/containerdisks/fedora:latest --name "vm-${preference}" | ${KUBECTL} apply -f - ; then - echo "functest failed on preference ${preference} using instancetype u1.medium" + # Ensure a VirtualMachine can be created when enough resources are provided using the u1.large instance type + if ! ${VIRTCTL} create vm --instancetype u1.large --preference "${preference}" --volume-containerdisk name:disk,src:quay.io/containerdisks/fedora:latest --name "vm-${preference}" | ${KUBECTL} apply -f - ; then + echo "functest failed on preference ${preference} using instancetype u1.large" exit 1 fi ${KUBECTL} delete "vm/vm-${preference}"