Skip to content

Commit ba5ea79

Browse files
authored
Merge pull request #3403 from willie-yao/use-md-remediation
Replace KCPRemediationSpec with MachineDeploymentRemediationSpec
2 parents 2be2128 + 8207337 commit ba5ea79

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/e2e/capi_test.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,18 @@ var _ = Describe("Running the Cluster API E2E tests", func() {
148148
})
149149
}
150150

151-
Context("Should successfully remediate unhealthy machines with MachineHealthCheck", func() {
152-
capi_e2e.KCPRemediationSpec(context.TODO(), func() capi_e2e.KCPRemediationSpecInput {
153-
return capi_e2e.KCPRemediationSpecInput{
151+
// TODO: Add test using KCPRemediationSpec
152+
Context("Should successfully remediate unhealthy worker machines with MachineHealthCheck", func() {
153+
capi_e2e.MachineDeploymentRemediationSpec(context.TODO(), func() capi_e2e.MachineDeploymentRemediationSpecInput {
154+
return capi_e2e.MachineDeploymentRemediationSpecInput{
154155
E2EConfig: e2eConfig,
155156
ClusterctlConfigPath: clusterctlConfigPath,
156157
BootstrapClusterProxy: bootstrapClusterProxy,
157158
ArtifactFolder: artifactFolder,
158159
SkipCleanup: skipCleanup,
160+
ControlPlaneWaiters: clusterctl.ControlPlaneWaiters{
161+
WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,
162+
},
159163
}
160164
})
161165
})

0 commit comments

Comments
 (0)