Skip to content

Commit

Permalink
Fix flakiness in MD controller test
Browse files Browse the repository at this point in the history
Signed-off-by: killianmuldoon <[email protected]>
  • Loading branch information
killianmuldoon committed Dec 1, 2022
1 parent 9702ce5 commit 8b3c3cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ func TestMachineDeploymentReconciler(t *testing.T) {
return false
}
return machineSets.Items[0].Status.Replicas == *deployment.Spec.Replicas
// WIP
}, timeout*5).Should(BeTrue())

t.Log("Verifying MachineSets with old labels are deleted")
Expand All @@ -404,7 +405,7 @@ func TestMachineDeploymentReconciler(t *testing.T) {
}

return len(machineSets.Items)
}, timeout*5).Should(BeEquivalentTo(0))
}, timeout*10).Should(BeEquivalentTo(0))

t.Log("Verifying MachineDeployment has correct Conditions")
g.Eventually(func() bool {
Expand Down

0 comments on commit 8b3c3cf

Please sign in to comment.