Skip to content

Commit

Permalink
Correct vpc-cni add-on versions in acceptance tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Nov 8, 2023
1 parent f5c4cc2 commit 2f55a5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/service/eks/addon_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestAccEKSAddonDataSource_configurationValues(t *testing.T) {
dataSourceResourceName := "data.aws_eks_addon.test"
resourceName := "aws_eks_addon.test"
addonName := "vpc-cni"
addonVersion := "v1.10.4-eksbuild.1"
addonVersion := "v1.15.3-eksbuild.1"
configurationValues := "{\"env\": {\"WARM_ENI_TARGET\":\"2\",\"ENABLE_POD_ENI\":\"true\"},\"resources\": {\"limits\":{\"cpu\":\"100m\",\"memory\":\"100Mi\"},\"requests\":{\"cpu\":\"100m\",\"memory\":\"100Mi\"}}}"

resource.ParallelTest(t, resource.TestCase{
Expand Down
6 changes: 3 additions & 3 deletions internal/service/eks/addon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ func TestAccEKSAddon_addonVersion(t *testing.T) {
rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix)
resourceName := "aws_eks_addon.test"
addonName := "vpc-cni"
addonVersion1 := "v1.12.5-eksbuild.2"
addonVersion2 := "v1.12.6-eksbuild.1"
addonVersion1 := "v1.14.1-eksbuild.1"
addonVersion2 := "v1.15.3-eksbuild.1"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t); testAccPreCheck(ctx, t); testAccPreCheckAddon(ctx, t) },
Expand Down Expand Up @@ -308,7 +308,7 @@ func TestAccEKSAddon_configurationValues(t *testing.T) {
emptyConfigurationValues := "{}"
invalidConfigurationValues := "{\"env\": {\"INVALID_FIELD\":\"2\"}}"
addonName := "vpc-cni"
addonVersion := "v1.12.6-eksbuild.1"
addonVersion := "v1.15.3-eksbuild.1"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t); testAccPreCheck(ctx, t); testAccPreCheckAddon(ctx, t) },
Expand Down

0 comments on commit 2f55a5c

Please sign in to comment.