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 }