Skip to content

Commit

Permalink
fix: fix gpu label test v0.35.x (#7099)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Sep 27, 2024
1 parent 09e2d51 commit e7f3519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/suites/integration/scheduling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e7f3519

Please sign in to comment.