From e7f35192bc140c822685a1c750be43b04ff94748 Mon Sep 17 00:00:00 2001 From: Reed Schalo Date: Fri, 27 Sep 2024 16:17:52 -0700 Subject: [PATCH] fix: fix gpu label test v0.35.x (#7099) --- test/suites/integration/scheduling_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/suites/integration/scheduling_test.go b/test/suites/integration/scheduling_test.go index 3e0cb1ad33fc..6075df62a383 100644 --- a/test/suites/integration/scheduling_test.go +++ b/test/suites/integration/scheduling_test.go @@ -208,6 +208,7 @@ var _ = Describe("Scheduling", Ordered, ContinueOnFailure, func() { requirements := lo.MapToSlice(nodeSelector, func(key string, value string) v1.NodeSelectorRequirement { return v1.NodeSelectorRequirement{Key: key, Operator: v1.NodeSelectorOpIn, Values: []string{value}} }) + nodeClass.Spec.AMIFamily = lo.ToPtr(v1beta1.AMIFamilyAL2) deployment := test.Deployment(test.DeploymentOptions{Replicas: 1, PodOptions: test.PodOptions{ NodeSelector: nodeSelector, NodePreferences: requirements,