From e71cc3908565a555b20c13b8d822b431a25dcca1 Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Mon, 28 Mar 2022 12:19:22 +0200 Subject: [PATCH] Try to fix CI by increasing actionset wait timeout --- pkg/controller/controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/controller_test.go b/pkg/controller/controller_test.go index 47179d1b3a5..422732f2c2d 100644 --- a/pkg/controller/controller_test.go +++ b/pkg/controller/controller_test.go @@ -138,7 +138,7 @@ func (s *ControllerSuite) TestWatch(c *C) { // nolint:unparam func (s *ControllerSuite) waitOnActionSetState(c *C, as *crv1alpha1.ActionSet, state crv1alpha1.State) error { - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() err := poll.Wait(ctx, func(context.Context) (bool, error) { as, err := s.crCli.ActionSets(as.GetNamespace()).Get(ctx, as.GetName(), metav1.GetOptions{})