@@ -209,7 +209,13 @@ func ClusterInPlaceUpdateSpec(ctx context.Context, inputGetter func() ClusterInP
209209
210210 // Doing multiple in-place updates for additional coverage.
211211 filePath := "/tmp/test"
212- for i , fileContent := range []string {"first in-place update" , "second in-place update" } {
212+ for i , fileContent := range []string {
213+ "first in-place update" ,
214+ "second in-place update" ,
215+ "third in-place update" ,
216+ "fourth in-place update" ,
217+ "five in-place update" ,
218+ } {
213219 Byf ("[%d] Trigger in-place update by modifying the files variable" , i )
214220
215221 originalCluster := cluster .DeepCopy ()
@@ -246,8 +252,7 @@ func ClusterInPlaceUpdateSpec(ctx context.Context, inputGetter func() ClusterInP
246252 // Ensure only in-place updates were executed and no Machine was re-created.
247253 machineObjectsAfterInPlaceUpdate = getMachineObjects (ctx , g , mgmtClient , cluster )
248254 g .Expect (machineNames (machineObjectsAfterInPlaceUpdate .ControlPlaneMachines )).To (Equal (machineNames (machineObjectsBeforeInPlaceUpdate .ControlPlaneMachines )))
249- // TODO(in-place): enable once MD/MS/Machine controller PRs are merged
250- // g.Expect(machineNames(machineObjectsAfterInPlaceUpdate.WorkerMachines)).To(Equal(machineNames(machineObjectsBeforeInPlaceUpdate.WorkerMachines)))
255+ g .Expect (machineNames (machineObjectsAfterInPlaceUpdate .WorkerMachines )).To (Equal (machineNames (machineObjectsBeforeInPlaceUpdate .WorkerMachines )))
251256 }, input .E2EConfig .GetIntervals (specName , "wait-control-plane" )... ).Should (Succeed ())
252257
253258 // Update machineObjectsBeforeInPlaceUpdate for the next round of in-place update.
0 commit comments