From ab288026152991b1faf0cc3edaab499f96eff832 Mon Sep 17 00:00:00 2001 From: Mike Metral <1112768+metral@users.noreply.github.com> Date: Fri, 7 Feb 2020 13:12:19 -0800 Subject: [PATCH] tests: add managedNodeGroup_withUpdate test --- nodejs/eks/examples/examples_test.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/nodejs/eks/examples/examples_test.go b/nodejs/eks/examples/examples_test.go index c214a4960..7a5325ccc 100644 --- a/nodejs/eks/examples/examples_test.go +++ b/nodejs/eks/examples/examples_test.go @@ -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.")