Skip to content

Commit

Permalink
Update static AMI test
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Mar 29, 2019
1 parent b18ff64 commit 45edfd7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/ami/static_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ 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{
Region: "us-east-1",
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{
Region: "eu-west-1",
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{
Expand All @@ -69,23 +69,23 @@ 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{
Region: "us-east-1",
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{
Region: "eu-west-1",
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{
Expand Down

0 comments on commit 45edfd7

Please sign in to comment.