From a49e66cf6f97a1572bc99a9d77fc2ba7ea65f287 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Thu, 3 Oct 2024 13:31:52 +1000 Subject: [PATCH] fix: increase kube test timeout --- internal/integration/harness.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/integration/harness.go b/internal/integration/harness.go index 209965afad..29c7f00f90 100644 --- a/internal/integration/harness.go +++ b/internal/integration/harness.go @@ -40,8 +40,11 @@ func (i TestContext) integrationTestTimeout() time.Duration { panic(err) } if i.kubeClient != nil { - // kube can be slow, give it some time - return d * 5 + // Kube can be slow, give it some time + kubeMin := time.Minute + if d.Milliseconds() < kubeMin.Milliseconds() { + return kubeMin + } } return d }