mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-20 16:19:33 +00:00
Pass the local test state to cleanupTest() as a pointer. It is mostly empty at the point of calling `DeferCleanup(cleanupTest)`, so using `ginkgo.DeferCleanup(cleanupTest, ..., l.podNames, ...)` will pass empty podNames to the cleanup. And now that the cleanup actually does something, fix the error handling in it.