Skip to content

Commit b8e83dc

Browse files
committed
give "Application Start with ControllerManagedBy should Reconcile Owns objects " more time to sync
1 parent a8d29b2 commit b8e83dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/builder/controller_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ var _ = Describe("application", func() {
201201
Named("my_controller-0").
202202
Owns(&appsv1.ReplicaSet{}).
203203
Build(typedNoop)
204-
// If we ever allow Owns() without For() we need to update the code to error
205-
// out on Owns() if the request type is different from reconcile.Request just
206-
// like we do in For().
204+
// If we ever allow Owns() without For() we need to update the code to error
205+
// out on Owns() if the request type is different from reconcile.Request just
206+
// like we do in For().
207207
Expect(err).To(MatchError("Owns() can only be used together with For()"))
208208
Expect(instance).To(BeNil())
209209
})
@@ -711,7 +711,7 @@ func doReconcileTest(ctx context.Context, nameSuffix string, mgr manager.Manager
711711
Expect(err).NotTo(HaveOccurred())
712712

713713
By("Waiting for the Deployment Reconcile")
714-
Eventually(ch).Should(Receive(Equal(reconcile.Request{
714+
Eventually(ch, "5s").Should(Receive(Equal(reconcile.Request{
715715
NamespacedName: types.NamespacedName{Namespace: "default", Name: deployName}})))
716716

717717
By("Creating a ReplicaSet")

0 commit comments

Comments
 (0)