From 23f0fd6e66c0fa3a64d3bfe479a9eafbb1e2b757 Mon Sep 17 00:00:00 2001 From: Alex Buchanan Date: Mon, 7 Oct 2024 12:08:54 -0700 Subject: [PATCH] fix: bump helm timeout to 60 minutes (#131) --- internal/cmd/local/local/install.go | 2 +- internal/cmd/local/local/install_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/cmd/local/local/install.go b/internal/cmd/local/local/install.go index 874faac..52c7c6e 100644 --- a/internal/cmd/local/local/install.go +++ b/internal/cmd/local/local/install.go @@ -604,7 +604,7 @@ func (c *Command) handleChart( CreateNamespace: true, Namespace: req.namespace, Wait: true, - Timeout: 30 * time.Minute, + Timeout: 60 * time.Minute, ValuesOptions: values.Options{Values: req.values}, ValuesYaml: req.valuesYAML, Version: req.chartVersion, diff --git a/internal/cmd/local/local/install_test.go b/internal/cmd/local/local/install_test.go index 0d715b3..0394f76 100644 --- a/internal/cmd/local/local/install_test.go +++ b/internal/cmd/local/local/install_test.go @@ -56,7 +56,7 @@ func TestCommand_Install(t *testing.T) { Namespace: airbyteNamespace, CreateNamespace: true, Wait: true, - Timeout: 30 * time.Minute, + Timeout: 60 * time.Minute, ValuesYaml: `global: auth: enabled: "true" @@ -83,7 +83,7 @@ func TestCommand_Install(t *testing.T) { Namespace: nginxNamespace, CreateNamespace: true, Wait: true, - Timeout: 30 * time.Minute, + Timeout: 60 * time.Minute, ValuesYaml: expNginxValues, }, release: release.Release{ @@ -225,7 +225,7 @@ func TestCommand_Install_HelmValues(t *testing.T) { Namespace: airbyteNamespace, CreateNamespace: true, Wait: true, - Timeout: 30 * time.Minute, + Timeout: 60 * time.Minute, ValuesYaml: `global: auth: enabled: "true" @@ -253,7 +253,7 @@ func TestCommand_Install_HelmValues(t *testing.T) { Namespace: nginxNamespace, CreateNamespace: true, Wait: true, - Timeout: 30 * time.Minute, + Timeout: 60 * time.Minute, ValuesYaml: expNginxValues, }, release: release.Release{