diff --git a/tests/integration/delivery/deliverable_reconciler_test.go b/tests/integration/delivery/deliverable_reconciler_test.go index 4e6a354f7..7578a94ce 100644 --- a/tests/integration/delivery/deliverable_reconciler_test.go +++ b/tests/integration/delivery/deliverable_reconciler_test.go @@ -924,10 +924,14 @@ var _ = Describe("DeliverableReconciler", func() { healthyLastTransitionTime = deliverable.Status.Conditions[3].LastTransitionTime + time.Sleep(1) + + // remove conditions from object testToUpdate := getTestObjAtIndex(ctx, testNS, 0, 1) testToUpdate.Status.Conditions = []metav1.Condition{} Expect(c.Status().Update(ctx, testToUpdate)).To(Succeed()) }) + It("the deliverable's health becomes unknown", func() { Eventually(func() []metav1.Condition { obj := &v1alpha1.Deliverable{}