Skip to content

Commit 66334f0

Browse files
authored
Merge pull request kubernetes#94731 from spiffxp/rm-http-ingress-gce-tests
Remove tests related to HTTPS support for ingress-gce
2 parents e2ea274 + deffddb commit 66334f0

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

test/e2e/network/ingress.go

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -130,48 +130,6 @@ var _ = SIGDescribe("Loadbalancing: L7", func() {
130130
}
131131
})
132132

133-
ginkgo.It("should create ingress with pre-shared certificate", func() {
134-
executePresharedCertTest(f, jig, "")
135-
})
136-
137-
ginkgo.It("should support multiple TLS certs", func() {
138-
ginkgo.By("Creating an ingress with no certs.")
139-
140-
_ = gceController.CreateStaticIP(ns)
141-
jig.CreateIngress(filepath.Join(e2eingress.IngressManifestPath, "multiple-certs"), ns, map[string]string{
142-
e2eingress.IngressStaticIPKey: ns,
143-
}, map[string]string{})
144-
145-
ginkgo.By("Adding multiple certs to the ingress.")
146-
hosts := []string{"test1.ingress.com", "test2.ingress.com", "test3.ingress.com", "test4.ingress.com"}
147-
secrets := []string{"tls-secret-1", "tls-secret-2", "tls-secret-3", "tls-secret-4"}
148-
certs := [][]byte{}
149-
for i, host := range hosts {
150-
jig.AddHTTPS(secrets[i], host)
151-
certs = append(certs, jig.GetRootCA(secrets[i]))
152-
}
153-
for i, host := range hosts {
154-
err := jig.WaitForIngressWithCert(true, []string{host}, certs[i])
155-
framework.ExpectNoError(err, fmt.Sprintf("Unexpected error while waiting for ingress: %v", err))
156-
}
157-
158-
ginkgo.By("Remove all but one of the certs on the ingress.")
159-
jig.RemoveHTTPS(secrets[1])
160-
jig.RemoveHTTPS(secrets[2])
161-
jig.RemoveHTTPS(secrets[3])
162-
163-
ginkgo.By("Test that the remaining cert is properly served.")
164-
err := jig.WaitForIngressWithCert(true, []string{hosts[0]}, certs[0])
165-
framework.ExpectNoError(err, fmt.Sprintf("Unexpected error while waiting for ingress: %v", err))
166-
167-
ginkgo.By("Add back one of the certs that was removed and check that all certs are served.")
168-
jig.AddHTTPS(secrets[1], hosts[1])
169-
for i, host := range hosts[:2] {
170-
err := jig.WaitForIngressWithCert(true, []string{host}, certs[i])
171-
framework.ExpectNoError(err, fmt.Sprintf("Unexpected error while waiting for ingress: %v", err))
172-
}
173-
})
174-
175133
ginkgo.It("multicluster ingress should get instance group annotation", func() {
176134
name := "echomap"
177135
jig.CreateIngress(filepath.Join(e2eingress.IngressManifestPath, "http"), ns, map[string]string{

0 commit comments

Comments
 (0)