From 7397a62ce2a11e61dc48967f78f3761cd94c4792 Mon Sep 17 00:00:00 2001 From: Reed Schalo Date: Thu, 3 Oct 2024 16:30:21 -0700 Subject: [PATCH] fix: gpu label test v0.37.x (#7156) --- 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 be328ed5cdd2..e2cec6345a8d 100644 --- a/test/suites/integration/scheduling_test.go +++ b/test/suites/integration/scheduling_test.go @@ -214,6 +214,7 @@ var _ = Describe("Scheduling", Ordered, ContinueOnFailure, func() { env.ExpectCreatedNodeCount("==", 1) }) It("should support well-known labels for a gpu (nvidia)", func() { + nodeClass.Spec.AMIFamily = lo.ToPtr(v1beta1.AMIFamilyAL2) nodeSelector := map[string]string{ v1beta1.LabelInstanceGPUName: "t4", v1beta1.LabelInstanceGPUMemory: "16384",