Skip to content

Commit

Permalink
tests: add managedNodeGroup_withUpdate test
Browse files Browse the repository at this point in the history
  • Loading branch information
metral committed Feb 12, 2020
1 parent ed70213 commit ab28802
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nodejs/eks/examples/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,25 @@ func TestAccStorageClasses_withUpdate(t *testing.T) {
integration.ProgramTest(t, &test)
}

func TestAccManagedNodeGroup_withUpdate(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
}
test := getJSBaseOptions(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "managed-nodegroups"),
RunUpdateTest: true,
ExtraRuntimeValidation: func(t *testing.T, info integration.RuntimeValidationStackInfo) {
utils.RunEKSSmokeTest(t,
info.Deployment.Resources,
info.Outputs["kubeconfig"],
)
},
})

integration.ProgramTest(t, &test)
}

func TestAccReplaceSecGroup(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
Expand Down

0 comments on commit ab28802

Please sign in to comment.