Skip to content

Commit b69a93e

Browse files
author
Ryan Zhang
committed
fix test
1 parent b13ae54 commit b69a93e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/controllers/apply_controller_integration_test.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,7 @@ var _ = Describe("Work Controller", func() {
568568

569569
By("make sure the works are handled")
570570
for i := 0; i < numWork; i++ {
571-
resultWork := waitForWorkToBeHandled(works[i].GetName(), works[i].GetNamespace())
572-
Expect(len(resultWork.Status.ManifestConditions)).Should(Equal(1))
573-
Expect(meta.IsStatusConditionTrue(resultWork.Status.Conditions, ConditionTypeApplied)).Should(BeTrue())
574-
Expect(meta.IsStatusConditionTrue(resultWork.Status.ManifestConditions[0].Conditions, ConditionTypeApplied)).Should(BeTrue())
571+
waitForWorkToBeHandled(works[i].GetName(), works[i].GetNamespace())
575572
}
576573

577574
By("mark the work controller as leave")

0 commit comments

Comments
 (0)