Skip to content

Commit

Permalink
fixup! operator: Add some logic to manage sub reconciler
Browse files Browse the repository at this point in the history
  • Loading branch information
TeddyAndrieux committed Sep 14, 2022
1 parent d79b19c commit 2e23ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/pkg/controller/utils/reconcile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func assertRequeue(result ctrl.Result, err error) {

func assertRequeueError(myErr error, result ctrl.Result, err error) {
Expect(err).To(HaveOccurred())
Expect(err.Error()).To(Equal("An ErRoR !"))
Expect(err).To(BeEquivalentTo(myErr))
Expect(result.Requeue).To(BeFalse())
Expect(result.RequeueAfter).To(BeZero())
}
Expand Down

0 comments on commit 2e23ee5

Please sign in to comment.