Skip to content

Commit 11330aa

Browse files
authored
fix: update AMI versions for suite test (#8779)
1 parent c935f80 commit 11330aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/suites/ami/suite_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ var _ = Describe("AMI", func() {
9393
})
9494
It("should use the most recent AMI when discovering multiple", func() {
9595
// choose an old static image that will definitely have an older creation date
96-
oldCustomAMI := env.GetAMIBySSMPath(fmt.Sprintf("/aws/service/eks/optimized-ami/%[1]s/amazon-linux-2023/x86_64/standard/amazon-eks-node-al2023-x86_64-standard-%[1]s-v20250819/image_id", env.K8sVersion()))
96+
oldCustomAMI := env.GetAMIBySSMPath(fmt.Sprintf("/aws/service/eks/optimized-ami/%[1]s/amazon-linux-2023/x86_64/standard/amazon-eks-node-al2023-x86_64-standard-%[1]s-v20251112/image_id", env.K8sVersion()))
9797
nodeClass.Spec.AMIFamily = lo.ToPtr(v1.AMIFamilyAL2023)
9898
nodeClass.Spec.AMISelectorTerms = []v1.AMISelectorTerm{
9999
{ID: customAMI},
@@ -234,8 +234,8 @@ var _ = Describe("AMI", func() {
234234
Entry("AL2 (latest)", "al2@latest"),
235235
Entry("AL2 (pinned)", "al2@v20250116"),
236236
Entry("Bottlerocket (latest)", "bottlerocket@latest"),
237-
Entry("Bottlerocket (pinned with v prefix)", "bottlerocket@v1.45.0"),
238-
Entry("Bottlerocket (pinned without v prefix)", "bottlerocket@1.45.0"),
237+
Entry("Bottlerocket (pinned with v prefix)", "bottlerocket@v1.50.0"),
238+
Entry("Bottlerocket (pinned without v prefix)", "bottlerocket@1.50.0"),
239239
)
240240
It("should support Custom AMIFamily with AMI Selectors", func() {
241241
al2023AMI := env.GetAMIBySSMPath(fmt.Sprintf("/aws/service/eks/optimized-ami/%s/amazon-linux-2023/x86_64/standard/recommended/image_id", env.K8sVersion()))

0 commit comments

Comments
 (0)