From 6d30b3bcc049b3c282d3207fd77b70dbc5e7e258 Mon Sep 17 00:00:00 2001 From: Slava Lysunkin Date: Mon, 18 Nov 2024 16:12:15 -0600 Subject: [PATCH] E2E tests - [DO NOT MERGE] --- test/e2e/provider_aws_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/e2e/provider_aws_test.go b/test/e2e/provider_aws_test.go index 604b064e5..4eba91bcf 100644 --- a/test/e2e/provider_aws_test.go +++ b/test/e2e/provider_aws_test.go @@ -191,6 +191,11 @@ var _ = Describe("AWS Templates", Label("provider:cloud", "provider:aws"), Order // Deploy a standalone cluster and verify it is running/ready. GinkgoT().Setenv(managedcluster.EnvVarAWSInstanceType, "t3.small") + cmd := exec.Command("kubectl", "get", "clustertemplates", "-n", "hmc-system") + output, err := utils.Run(cmd) + _, _ = fmt.Fprintln(GinkgoWriter, string(output)) + Expect(err).NotTo(HaveOccurred()) + templateBy(managedcluster.TemplateEKSCP, "creating a ManagedCluster for EKS") sd := managedcluster.GetUnstructured(managedcluster.TemplateEKSCP) clusterName = sd.GetName()