diff --git a/internal/controllers/machinehealthcheck/machinehealthcheck_controller_test.go b/internal/controllers/machinehealthcheck/machinehealthcheck_controller_test.go index 4645f43df91e..2aba5b1ace9f 100644 --- a/internal/controllers/machinehealthcheck/machinehealthcheck_controller_test.go +++ b/internal/controllers/machinehealthcheck/machinehealthcheck_controller_test.go @@ -876,13 +876,10 @@ func TestMachineHealthCheck_Reconcile(t *testing.T) { }) t.Run("when a Machine has no Node ref for longer than the NodeStartupTimeout", func(t *testing.T) { - // FIXME: Resolve flaky/failing test - t.Skip("skipping until made stable") g := NewWithT(t) cluster := createCluster(g, ns.Name) mhc := newMachineHealthCheck(cluster.Namespace, cluster.Name) - mhc.Spec.NodeStartupTimeout = &metav1.Duration{Duration: time.Second} g.Expect(env.Create(ctx, mhc)).To(Succeed()) defer func(do ...client.Object) { @@ -976,8 +973,6 @@ func TestMachineHealthCheck_Reconcile(t *testing.T) { }) t.Run("when a Machine's Node has gone away", func(t *testing.T) { - // FIXME: Resolve flaky/failing test - t.Skip("skipping until made stable") g := NewWithT(t) cluster := createCluster(g, ns.Name) @@ -2645,7 +2640,7 @@ func newMachineHealthCheck(namespace, clusterName string) *clusterv1.MachineHeal }, }, MaxUnhealthy: &maxUnhealthy, - NodeStartupTimeout: &metav1.Duration{Duration: 1 * time.Millisecond}, + NodeStartupTimeout: &metav1.Duration{Duration: 5 * time.Second}, UnhealthyConditions: []clusterv1.UnhealthyCondition{ { Type: corev1.NodeReady,