From 45edfd793d48909bf81cf5ca68ce6741534119b0 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Fri, 29 Mar 2019 00:29:44 +0000 Subject: [PATCH] Update static AMI test --- pkg/ami/static_resolver_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/ami/static_resolver_test.go b/pkg/ami/static_resolver_test.go index d3278bd07f..60ac2cfaaf 100644 --- a/pkg/ami/static_resolver_test.go +++ b/pkg/ami/static_resolver_test.go @@ -37,7 +37,7 @@ var _ = Describe("AMI Static Resolution", func() { Version: "1.10", InstanceType: "t2.medium", ImageFamily: "AmazonLinux2", - ExpectedAMI: "ami-0e7ee8863c8536cce", + ExpectedAMI: "ami-023785df2ca7ef563", ExpectError: false, }), Entry("with non-gpu instance and us-east-1", ResolveCase{ @@ -45,7 +45,7 @@ var _ = Describe("AMI Static Resolution", func() { Version: "1.10", InstanceType: "t2.medium", ImageFamily: "AmazonLinux2", - ExpectedAMI: "ami-09a7630ca9ee4ee22", + ExpectedAMI: "ami-00c495fbee7666f8c", ExpectError: false, }), Entry("with non-gpu instance and eu-west-1", ResolveCase{ @@ -53,7 +53,7 @@ var _ = Describe("AMI Static Resolution", func() { Version: "1.10", InstanceType: "t2.medium", ImageFamily: "AmazonLinux2", - ExpectedAMI: "ami-0103822d44fc52f97", + ExpectedAMI: "ami-03baa6e9348518a1b", ExpectError: false, }), Entry("with non-gpu instance and non-eks enabled region", ResolveCase{ @@ -69,7 +69,7 @@ var _ = Describe("AMI Static Resolution", func() { Version: "1.10", InstanceType: "p2.xlarge", ImageFamily: "AmazonLinux2", - ExpectedAMI: "ami-003a551d4d2e5c75d", + ExpectedAMI: "ami-0901518d7557125c8", ExpectError: false, }), Entry("with gpu (p3) instance and us-east-1", ResolveCase{ @@ -77,7 +77,7 @@ var _ = Describe("AMI Static Resolution", func() { Version: "1.10", InstanceType: "p3.2xlarge", ImageFamily: "AmazonLinux2", - ExpectedAMI: "ami-0c67dfb2298cf554a", + ExpectedAMI: "ami-00f74c3728d4ca27d", ExpectError: false, }), Entry("with gpu (p2) instance and eu-west-1", ResolveCase{ @@ -85,7 +85,7 @@ var _ = Describe("AMI Static Resolution", func() { Version: "1.10", InstanceType: "p2.xlarge", ImageFamily: "AmazonLinux2", - ExpectedAMI: "ami-086252e9df9c3a21e", + ExpectedAMI: "ami-0f6f3929a9d7a418e", ExpectError: false, }), Entry("with gpu (p3) instance and non-eks enabled region", ResolveCase{