Skip to content

Commit

Permalink
Merge pull request #11019 from cahillsf/increase-timeouts-mhc-unit-test
Browse files Browse the repository at this point in the history
🌱 Increase timeout for 2 MHC unit tests
  • Loading branch information
k8s-ci-robot authored Aug 6, 2024
2 parents df6c986 + 848c8f7 commit cd6d595
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ func TestMachineHealthCheck_Reconcile(t *testing.T) {
cluster := createCluster(g, ns.Name)

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

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

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

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

0 comments on commit cd6d595

Please sign in to comment.