From c52fb0e401596e9fca514640ff7de13539639c33 Mon Sep 17 00:00:00 2001 From: Alex Buchanan Date: Mon, 7 Oct 2024 11:02:21 -0700 Subject: [PATCH 1/2] fix: bump helm timeout to 60 minutes --- internal/cmd/local/local/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 11b7be4c53a3817892e599e69882d952cc78effd Mon Sep 17 00:00:00 2001 From: Alex Buchanan Date: Mon, 7 Oct 2024 11:13:09 -0700 Subject: [PATCH 2/2] fix test --- internal/cmd/local/local/install_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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{