Skip to content

Commit 9b8bd6d

Browse files
committed
Don't install addons twice in e2e
1 parent d809e63 commit 9b8bd6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/e2e/capi_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() {
213213
PreInit: getPreInitFunc(ctx),
214214
InitWithProvidersContract: "v1beta1",
215215
ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{
216-
WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,
216+
WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons,
217217
},
218218
InitWithKubernetesVersion: e2eConfig.MustGetVariable(KubernetesVersionAPIUpgradeFrom),
219219
InitWithBinary: fmt.Sprintf("https://github.com/kubernetes-sigs/cluster-api/releases/download/%s/clusterctl-{OS}-{ARCH}", e2eConfig.MustGetVariable(OldCAPIUpgradeVersion)),
@@ -238,7 +238,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() {
238238
PreInit: getPreInitFunc(ctx),
239239
InitWithProvidersContract: "v1beta1",
240240
ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{
241-
WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,
241+
WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons,
242242
},
243243
InitWithKubernetesVersion: e2eConfig.MustGetVariable(KubernetesVersionAPIUpgradeFrom),
244244
InitWithBinary: fmt.Sprintf("https://github.com/kubernetes-sigs/cluster-api/releases/download/%s/clusterctl-{OS}-{ARCH}", e2eConfig.MustGetVariable(LatestCAPIUpgradeVersion)),
@@ -263,7 +263,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() {
263263
SkipCleanup: skipCleanup,
264264
SkipConformanceTests: true,
265265
ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{
266-
WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,
266+
WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons,
267267
},
268268
}
269269
})
@@ -281,7 +281,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() {
281281
SkipCleanup: skipCleanup,
282282
SkipConformanceTests: true,
283283
ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{
284-
WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,
284+
WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons,
285285
},
286286
}
287287
})
@@ -300,7 +300,7 @@ var _ = Describe("Running the Cluster API E2E tests", func() {
300300
SkipConformanceTests: true,
301301
Flavor: ptr.To("kcp-scale-in"),
302302
ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{
303-
WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,
303+
WaitForControlPlaneInitialized: EnsureControlPlaneInitializedNoAddons,
304304
},
305305
}
306306
})

0 commit comments

Comments
 (0)