mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-19 00:31:00 +00:00
Fixing ip address leak in kubemci e2e tests by always cleaning up cloud resources
This commit is contained in:
parent
7fed970f36
commit
0f81362fa0
@ -597,10 +597,10 @@ var _ = SIGDescribe("Loadbalancing: L7", func() {
|
||||
}
|
||||
if jig.Ingress == nil {
|
||||
By("No ingress created, no cleanup necessary")
|
||||
return
|
||||
} else {
|
||||
By("Deleting ingress")
|
||||
jig.TryDeleteIngress()
|
||||
}
|
||||
By("Deleting ingress")
|
||||
jig.TryDeleteIngress()
|
||||
|
||||
By("Cleaning up cloud resources")
|
||||
Expect(gceController.CleanupGCEIngressController()).NotTo(HaveOccurred())
|
||||
|
Loading…
Reference in New Issue
Block a user