diff --git a/pkg/knative/client.go b/pkg/knative/client.go index 55c5fe3755..38668c1f88 100644 --- a/pkg/knative/client.go +++ b/pkg/knative/client.go @@ -13,7 +13,7 @@ import ( ) const ( - DefaultWaitingTimeout = 120 * time.Second + DefaultWaitingTimeout = 300 * time.Second DefaultErrorWindowTimeout = 2 * time.Second ) diff --git a/pkg/knative/remover.go b/pkg/knative/remover.go index 1a3cac4921..d7a49aa28f 100644 --- a/pkg/knative/remover.go +++ b/pkg/knative/remover.go @@ -8,7 +8,7 @@ import ( "knative.dev/func/pkg/k8s" ) -const RemoveTimeout = 120 * time.Second +const RemoveTimeout = 300 * time.Second func NewRemover(namespaceOverride string, verbose bool) *Remover { return &Remover{ diff --git a/pkg/pipelines/tekton/client.go b/pkg/pipelines/tekton/client.go index 6fb10f4c62..1eca81f1ff 100644 --- a/pkg/pipelines/tekton/client.go +++ b/pkg/pipelines/tekton/client.go @@ -10,7 +10,7 @@ import ( ) const ( - DefaultWaitingTimeout = 120 * time.Second + DefaultWaitingTimeout = 300 * time.Second ) func NewTektonClientAndResolvedNamespace(defaultNamespace string) (*v1beta1.TektonV1beta1Client, string, error) {