mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
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:
parent
6b24a5796c
commit
94ebfec526
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user