Files
kubernetes/test
Patrick Ohly f15d7f6cca e2e storage: eliminate context.TODO and cleanup callbacks
Tests should accept a context from Ginkgo and pass it through to all functions
which may block for a longer period of time. In particular all Kubernetes API
calls through client-go should use that context. Then if a timeout occurs,
the test returns immediately because everything that it could block on will
return.

Cleanup code then needs to run in a separate Ginkgo node, typically
DeferCleanup, which ensures that it gets a separate context which has not timed
out yet.
2022-10-20 13:56:59 +02:00
..
2022-10-06 08:19:47 +02:00
2022-10-15 10:43:05 -07:00
2022-06-15 13:38:48 +09:00
2022-10-10 13:43:03 -04:00