From 8b3c3cfc18fdac712a4935c0ff6e7104c6c5ac28 Mon Sep 17 00:00:00 2001 From: killianmuldoon Date: Wed, 30 Nov 2022 13:56:09 +0000 Subject: [PATCH] Fix flakiness in MD controller test Signed-off-by: killianmuldoon --- .../machinedeployment/machinedeployment_controller_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/controllers/machinedeployment/machinedeployment_controller_test.go b/internal/controllers/machinedeployment/machinedeployment_controller_test.go index 40df6c3e3408..920fec9664e8 100644 --- a/internal/controllers/machinedeployment/machinedeployment_controller_test.go +++ b/internal/controllers/machinedeployment/machinedeployment_controller_test.go @@ -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") @@ -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 {