Skip to content

Commit

Permalink
Try to fix CI by increasing actionset wait timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksinghggits committed Mar 28, 2022
1 parent 7d768e7 commit e71cc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
Expand Down

0 comments on commit e71cc39

Please sign in to comment.