diff --git a/test/e2e/azure_test.go b/test/e2e/azure_test.go index 95a9a382e45..5c3039cd97c 100644 --- a/test/e2e/azure_test.go +++ b/test/e2e/azure_test.go @@ -174,7 +174,7 @@ var _ = Describe("Workload cluster creation", func() { withControlPlaneMachineCount(1), withWorkerMachineCount(1), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -224,7 +224,7 @@ var _ = Describe("Workload cluster creation", func() { withWorkerMachineCount(2), withControlPlaneInterval(specName, "wait-control-plane-ha"), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -322,7 +322,7 @@ var _ = Describe("Workload cluster creation", func() { withWorkerMachineCount(2), withControlPlaneInterval(specName, "wait-control-plane-ha"), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -381,7 +381,7 @@ var _ = Describe("Workload cluster creation", func() { withControlPlaneMachineCount(1), withWorkerMachineCount(1), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -419,7 +419,7 @@ var _ = Describe("Workload cluster creation", func() { withWorkerMachineCount(1), withControlPlaneInterval(specName, "wait-control-plane-ha"), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -479,7 +479,7 @@ var _ = Describe("Workload cluster creation", func() { withControlPlaneInterval(specName, "wait-control-plane"), withMachinePoolInterval(specName, "wait-machine-pool-nodes"), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -547,7 +547,7 @@ var _ = Describe("Workload cluster creation", func() { withWorkerMachineCount(1), withMachineDeploymentInterval(specName, "wait-gpu-nodes"), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -606,7 +606,7 @@ var _ = Describe("Workload cluster creation", func() { withKubernetesVersion("v1.26.1"), withMachineDeploymentInterval(specName, ""), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withMachinePoolInterval(specName, "wait-machine-pool-nodes"), withControlPlaneInterval(specName, "wait-control-plane"), @@ -662,7 +662,7 @@ var _ = Describe("Workload cluster creation", func() { withControlPlaneMachineCount(1), withWorkerMachineCount(2), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -910,7 +910,7 @@ var _ = Describe("Workload cluster creation", func() { withWorkerMachineCount(1), withControlPlaneInterval(specName, "wait-control-plane-ha"), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -984,7 +984,7 @@ var _ = Describe("Workload cluster creation", func() { withControlPlaneMachineCount(1), withWorkerMachineCount(1), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -1028,7 +1028,7 @@ var _ = Describe("Workload cluster creation", func() { withControlPlaneMachineCount(1), withWorkerMachineCount(1), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { @@ -1069,7 +1069,7 @@ var _ = Describe("Workload cluster creation", func() { withControlPlaneMachineCount(1), withWorkerMachineCount(2), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), withPostMachinesProvisioned(func() { EnsureDaemonsets(ctx, func() DaemonsetsSpecInput { diff --git a/test/e2e/capi_test.go b/test/e2e/capi_test.go index f54df8059db..bae1410f95c 100644 --- a/test/e2e/capi_test.go +++ b/test/e2e/capi_test.go @@ -111,7 +111,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { ArtifactFolder: artifactFolder, SkipCleanup: skipCleanup, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -126,7 +126,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { ArtifactFolder: artifactFolder, SkipCleanup: skipCleanup, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -142,7 +142,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { ArtifactFolder: artifactFolder, SkipCleanup: skipCleanup, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -159,7 +159,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { ArtifactFolder: artifactFolder, SkipCleanup: skipCleanup, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -174,7 +174,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { ArtifactFolder: artifactFolder, SkipCleanup: skipCleanup, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -189,7 +189,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { ArtifactFolder: artifactFolder, SkipCleanup: skipCleanup, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -204,7 +204,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { ArtifactFolder: artifactFolder, SkipCleanup: skipCleanup, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -257,7 +257,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { PreInit: getPreInitFunc(ctx), InitWithProvidersContract: "v1beta1", ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, + WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, }, InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.5/clusterctl-{OS}-{ARCH}", InitWithCoreProvider: "cluster-api:v1.0.5", @@ -280,7 +280,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { SkipCleanup: skipCleanup, SkipConformanceTests: true, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -298,7 +298,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { SkipCleanup: skipCleanup, SkipConformanceTests: true, ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) @@ -317,7 +317,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() { SkipConformanceTests: true, Flavor: ptr.To("kcp-scale-in"), ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }, } }) diff --git a/test/e2e/conformance_test.go b/test/e2e/conformance_test.go index b270e35e475..774e534f135 100644 --- a/test/e2e/conformance_test.go +++ b/test/e2e/conformance_test.go @@ -164,7 +164,7 @@ var _ = Describe("Conformance Tests", func() { withControlPlaneMachineCount(controlPlaneMachineCount), withWorkerMachineCount(linuxWorkerMachineCount), withControlPlaneWaiters(clusterctl.ControlPlaneWaiters{ - WaitForControlPlaneInitialized: EnsureControlPlaneInitialized, + WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons, }), ), result) stopwatch.Record("cluster creation")