sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/suites/managed/README.md (about)

     1  # Managed (i.e. EKS) E2E Test Notes
     2  
     3  Due to the time it takes (15-20 mins) to provision an EKS cluster in AWS the e2e tests for the managed side of CAPA have been implemented in a way to reduce the number of clusters created.
     4  
     5  Where possible we re-use an EKS cluster and have tried not to create clusters in a `BeforeEach`. Instead we create a cluster in steps and at each step perform tests.
     6  
     7  For example, in [eks_test.go](eks_test.go) we perform the following steps:
     8  
     9  1. Apply an AWSManagedControlPlane to create a EKS cluster without any nodes
    10  2. Perform tests against the control plane
    11  3. Apply a MachineDeployment
    12  4. Perform tests against the machine deployment
    13  5. Apply a AWSManagedMachinePool
    14  6. Perform tests against the machine pool