diff --git a/test/e2e/lua/dynamic_certificates.go b/test/e2e/lua/dynamic_certificates.go index bdf4c09b97..dd374143b6 100644 --- a/test/e2e/lua/dynamic_certificates.go +++ b/test/e2e/lua/dynamic_certificates.go @@ -130,6 +130,10 @@ var _ = framework.IngressNginxDescribe("Dynamic Certificate", func() { ensureHTTPSRequest(f.GetURL(framework.HTTPS), host, host) }) + It("supports requests with domain with trailing dot", func() { + ensureHTTPSRequest(f.GetURL(framework.HTTPS), host+".", host) + }) + It("picks up the updated certificate without reloading", func() { ing, err := f.KubeClientSet.ExtensionsV1beta1().Ingresses(f.Namespace).Get(host, metav1.GetOptions{}) Expect(err).ToNot(HaveOccurred())