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 Nov 30, 2022
1 parent 9702ce5 commit 85e0771
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,13 @@ 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")
g.Eventually(func() int {
listOpts := client.MatchingLabels(oldLabels)
env.GetClient()
if err := env.List(ctx, machineSets, listOpts); err != nil {
return -1
}
Expand Down

0 comments on commit 85e0771

Please sign in to comment.