From dd950c8b65564244352909af5b165ebacfc77872 Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Fri, 23 Mar 2018 14:35:08 +0000 Subject: [PATCH] Increase http01 e2e test timeout --- test/e2e/framework/certificate.go | 2 +- test/e2e/framework/util.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/framework/certificate.go b/test/e2e/framework/certificate.go index 7991a2c09..6441fbcef 100644 --- a/test/e2e/framework/certificate.go +++ b/test/e2e/framework/certificate.go @@ -28,7 +28,7 @@ func (f *Framework) WaitCertificateIssuedValid(c *v1alpha1.Certificate) { v1alpha1.CertificateCondition{ Type: v1alpha1.CertificateConditionReady, Status: v1alpha1.ConditionTrue, - }, defaultTimeout) + }, longTimeout) Expect(err).NotTo(HaveOccurred()) By("Verifying TLS certificate exists") secret, err := f.KubeClientSet.CoreV1().Secrets(f.Namespace.Name).Get(c.Spec.SecretName, metav1.GetOptions{}) diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index b600e514d..2af3d1028 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -39,6 +39,8 @@ const ( // Default time to wait for operations to complete defaultTimeout = 30 * time.Second + + longTimeout = 5 * time.Minute ) func nowStamp() string {