mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-22 10:06:15 +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 {
|
if jig.Ingress == nil {
|
||||||
By("No ingress created, no cleanup necessary")
|
By("No ingress created, no cleanup necessary")
|
||||||
return
|
} else {
|
||||||
}
|
|
||||||
By("Deleting ingress")
|
By("Deleting ingress")
|
||||||
jig.TryDeleteIngress()
|
jig.TryDeleteIngress()
|
||||||
|
}
|
||||||
|
|
||||||
By("Cleaning up cloud resources")
|
By("Cleaning up cloud resources")
|
||||||
Expect(gceController.CleanupGCEIngressController()).NotTo(HaveOccurred())
|
Expect(gceController.CleanupGCEIngressController()).NotTo(HaveOccurred())
|
||||||
|
Loading…
Reference in New Issue
Block a user