Revert ginkgoRecover

This commit is contained in:
Caleb Woodbine 2020-07-22 08:48:28 +12:00
parent 125e839d77
commit 9c2330db4c

View File

@ -611,6 +611,7 @@ func testDeploymentCleanUpPolicy(f *framework.Framework) {
w, err := c.CoreV1().Pods(ns).Watch(context.TODO(), options)
framework.ExpectNoError(err)
go func() {
defer ginkgo.GinkgoRecover()
// There should be only one pod being created, which is the pod with the agnhost image.
// The old RS shouldn't create new pod when deployment controller adding pod template hash label to its selector.
numPodCreation := 1