kubernetes/pkg/kubelet/pluginmanager
kkh d733195cfe Fix potential goroutine leak in operation_executor_test.go
If the test times out in isOperationRunConcurrently, the receiver channel stops listening. The goroutine spawned in startOperationAndBlock then blocks forever on ch <- nil.

This commit updates startOperationAndBlock to use a select statement. It now waits for either the send to complete or the quit channel to be closed (signaling test completion). This ensures the goroutine exits cleanly even if the receiver is gone.

Signed-off-by: kkh <kkhdevs@gmail.com>
2026-01-08 00:37:00 +09:00
..
cache chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00
metrics chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00
operationexecutor Fix potential goroutine leak in operation_executor_test.go 2026-01-08 00:37:00 +09:00
pluginwatcher build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
reconciler chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00
OWNERS Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00
plugin_manager.go chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00
plugin_manager_test.go chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00