Skip to content

Commit 848c8f7

Browse files
committed
🌱 Increase timeout for 2 MHC unit tests
1 parent df6c986 commit 848c8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controllers/machinehealthcheck/machinehealthcheck_controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ func TestMachineHealthCheck_Reconcile(t *testing.T) {
880880
cluster := createCluster(g, ns.Name)
881881

882882
mhc := newMachineHealthCheck(cluster.Namespace, cluster.Name)
883-
mhc.Spec.NodeStartupTimeout = &metav1.Duration{Duration: 5 * time.Second}
883+
mhc.Spec.NodeStartupTimeout = &metav1.Duration{Duration: 10 * time.Second}
884884

885885
g.Expect(env.Create(ctx, mhc)).To(Succeed())
886886
defer func(do ...client.Object) {
@@ -978,7 +978,7 @@ func TestMachineHealthCheck_Reconcile(t *testing.T) {
978978
cluster := createCluster(g, ns.Name)
979979

980980
mhc := newMachineHealthCheck(cluster.Namespace, cluster.Name)
981-
mhc.Spec.NodeStartupTimeout = &metav1.Duration{Duration: 5 * time.Second}
981+
mhc.Spec.NodeStartupTimeout = &metav1.Duration{Duration: 10 * time.Second}
982982

983983
g.Expect(env.Create(ctx, mhc)).To(Succeed())
984984
defer func(do ...client.Object) {

0 commit comments

Comments
 (0)