Add GinkgoRecover to a local storage go routine

All goroutines must have 'defer ginkgo.GinkgoRecover()' for ginkgo to
report errors correctly.
This commit is contained in:
Jan Safranek 2020-11-11 16:10:27 +01:00
parent 6b24a5796c
commit 94ebfec526

View File

@ -530,6 +530,7 @@ var _ = utils.SIGDescribe("PersistentVolumes-local ", func() {
ginkgo.By(fmt.Sprintf("Creating %v pods periodically", numConcurrentPods))
stop := make(chan struct{})
go wait.Until(func() {
defer ginkgo.GinkgoRecover()
podsLock.Lock()
defer podsLock.Unlock()