Skip to content

Commit

Permalink
E2E tests - [DO NOT MERGE]
Browse files Browse the repository at this point in the history
  • Loading branch information
slysunkin committed Nov 18, 2024
1 parent 71dd92a commit 6d30b3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/provider_aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6d30b3b

Please sign in to comment.