Skip to content

Commit

Permalink
test: use AL2 for accelerator test (#6739)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal authored Aug 14, 2024
1 parent 91988cb commit 0f98280
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/suites/scheduling/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ var _ = Describe("Scheduling", Ordered, ContinueOnFailure, func() {
NodePreferences: requirements,
NodeRequirements: requirements,
}})
// Use AL2 AMIs instead of AL2023 since accelerated AMIs aren't yet available
nodeClass.Spec.AMISelectorTerms = []v1.AMISelectorTerm{{Alias: "al2@latest"}}
env.ExpectCreated(nodeClass, nodePool, deployment)
env.EventuallyExpectHealthyPodCount(labels.SelectorFromSet(deployment.Spec.Selector.MatchLabels), int(*deployment.Spec.Replicas))
env.ExpectCreatedNodeCount("==", 1)
Expand Down

0 comments on commit 0f98280

Please sign in to comment.