Merge pull request #36049 from kubernetes/wojtek-t-patch-4
Fix panics in density test.
This commit is contained in:
@@ -630,6 +630,7 @@ var _ = framework.KubeDescribe("Density", func() {
|
|||||||
|
|
||||||
By("Removing additional replication controllers")
|
By("Removing additional replication controllers")
|
||||||
deleteRC := func(i int) {
|
deleteRC := func(i int) {
|
||||||
|
defer GinkgoRecover()
|
||||||
name := additionalPodsPrefix + "-" + strconv.Itoa(i+1)
|
name := additionalPodsPrefix + "-" + strconv.Itoa(i+1)
|
||||||
framework.ExpectNoError(framework.DeleteRCAndWaitForGC(c, rcNameToNsMap[name], name))
|
framework.ExpectNoError(framework.DeleteRCAndWaitForGC(c, rcNameToNsMap[name], name))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user