Skip to content

Commit

Permalink
Merge pull request #3429 from Ankitasw/e2e-test-fix
Browse files Browse the repository at this point in the history
[E2E] Fix failing tests because of change in cluster names
  • Loading branch information
k8s-ci-robot authored Apr 18, 2022
2 parents 0f18334 + 6647708 commit 60ec2bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/e2e/suites/unmanaged/unmanaged_functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,9 @@ var _ = ginkgo.Context("[unmanaged] [functional]", func() {
// A private and public subnet is created in this VPC to allow for egress traffic but the workload AWSCluster is configured with
// an internal load balancer and only the private subnet. All applicable resources are restricted to us-west-2a for simplicity.
ginkgo.Describe("External infrastructure, external security groups, VPC peering, internal ELB and private subnet use only", func() {
var specName string
var namespace *corev1.Namespace
var requiredResources *shared.TestResource
specName := "functional-test-extinfra"
mgmtClusterName := fmt.Sprintf("%s-%s", specName, util.RandomString(6))
mgmtClusterInfra := new(shared.AWSInfrastructure)

Expand All @@ -703,7 +703,6 @@ var _ = ginkgo.Context("[unmanaged] [functional]", func() {

// Some infrastructure creation was moved to a setup node to better organize the test.
ginkgo.JustBeforeEach(func() {
specName = "functional-test-extinfra-peered-internal-elb"
requiredResources = &shared.TestResource{EC2Normal: 2 * e2eCtx.Settings.InstanceVCPU, IGW: 2, NGW: 2, VPC: 2, ClassicLB: 2, EIP: 5}
requiredResources.WriteRequestedResources(e2eCtx, specName)
Expect(shared.AcquireResources(requiredResources, config.GinkgoConfig.ParallelNode, flock.New(shared.ResourceQuotaFilePath))).To(Succeed())
Expand Down Expand Up @@ -941,7 +940,7 @@ var _ = ginkgo.Context("[unmanaged] [functional]", func() {

ginkgo.Describe("Workload cluster with AWS S3 and Ignition parameter", func() {
ginkgo.It("It should be creatable and deletable", func() {
specName := "functional-test-ignition-parameter"
specName := "functional-test-ignition"
namespace := shared.SetupSpecNamespace(ctx, specName, e2eCtx)
ginkgo.By("Creating a cluster")
clusterName := fmt.Sprintf("%s-%s", specName, util.RandomString(6))
Expand Down

0 comments on commit 60ec2bf

Please sign in to comment.