mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-26 16:50:51 -04:00
Two test contexts were failing because their AfterEach blocks run even when BeforeEach skips the test (standard Ginkgo behavior). This caused resetCRIProxyInjector to fail with "CRI Proxy is undefined". Switched to using DeferCleanup inside BeforeEach instead, which only runs if BeforeEach succeeds. This is the same pattern the other test contexts in this file already use. Signed-off-by: Davanum Srinivas <davanum@gmail.com> |
||
|---|---|---|
| .. | ||
| cmd | ||
| compatibility_lifecycle | ||
| conformance | ||
| e2e | ||
| e2e_dra | ||
| e2e_kubeadm | ||
| e2e_node | ||
| fixtures | ||
| fuzz | ||
| images | ||
| instrumentation | ||
| integration | ||
| kubemark | ||
| list | ||
| soak/serve_hostnames | ||
| typecheck | ||
| utils | ||
| OWNERS | ||