Skip to content

Commit 3f39c0d

Browse files
authored
Merge pull request #13050 from sbueringer/pr-fixup-fixup
🐛 Fix WaitForMachinesReady interval
2 parents f564f9f + f608221 commit 3f39c0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/framework/machines.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ type WaitForMachinesReadyInput struct {
102102
Intervals []interface{}
103103
}
104104

105-
func WaitForMachinesReady(ctx context.Context, input WaitForMachinesReadyInput, intervals ...interface{}) {
105+
func WaitForMachinesReady(ctx context.Context, input WaitForMachinesReadyInput) {
106106
By("Waiting for the machines' Ready condition to be true")
107107
machineList := &clusterv1.MachineList{}
108108

@@ -127,5 +127,5 @@ func WaitForMachinesReady(ctx context.Context, input WaitForMachinesReadyInput,
127127
}
128128
g.Expect(readyConditionFound).To(BeTrue(), "Machine %q should have a Ready condition", machine.Name)
129129
}
130-
}, intervals...).Should(Succeed(), "Failed to wait for Machines Ready condition for Cluster %s", klog.KRef(input.Namespace, input.Name))
130+
}, input.Intervals...).Should(Succeed(), "Failed to wait for Machines Ready condition for Cluster %s", klog.KRef(input.Namespace, input.Name))
131131
}

0 commit comments

Comments
 (0)