mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-24 02:15:10 +00:00
Fixes issue 115945 by moving the cleanup code in AfterEach into DeferCleanup. Cleanup stanzas are now paired with their setup stanzas within the body of the BeforeEach and are now guarenteed to run in the correct order. Prior to this there was no guarantee that the goroutine to recycle unbound PVs had finished before the AfterEach began.