Skip to content

Commit 2578809

Browse files
mgencurReToCode
authored andcommitted
Do not delete ingress Secret in tests for internal tls (knative#15280)
This test relies on trusting certificates as described in knative#14609 This is currently not implemented in net-istio, and it's tracked as knative-extensions/net-istio#1328 (cherry picked from commit f84265a)
1 parent ff14af6 commit 2578809

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎test/e2e/systeminternaltls/system_internal_tls_test.go‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,6 @@ func TestTLSCertificateRotation(t *testing.T) {
227227
t.Fatalf("Failed to delete secret %s in system namespacee", config.ServingRoutingCertName)
228228
}
229229
checkEndpointState(t, clients, url)
230-
231-
t.Log("Deleting secret in ingress namespace")
232-
if err := clients.KubeClient.CoreV1().Secrets(ingressNS).Delete(context.Background(), config.ServingRoutingCertName, v1.DeleteOptions{}); err != nil {
233-
t.Fatalf("Failed to delete secret %s in ingress namespacee", config.ServingRoutingCertName)
234-
}
235-
checkEndpointState(t, clients, url)
236230
}
237231

238232
func checkEndpointState(t *testing.T, clients *test.Clients, url *url.URL) {

0 commit comments

Comments
 (0)