kubernetes/pkg/kubelet/pluginmanager/operationexecutor
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
..
operation_executor.go chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00
operation_executor_test.go Fix potential goroutine leak in operation_executor_test.go 2026-01-08 00:37:00 +09:00
operation_generator.go chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00