mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-14 08:14:28 -05:00
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> |
||
|---|---|---|
| .. | ||
| cache | ||
| metrics | ||
| operationexecutor | ||
| pluginwatcher | ||
| reconciler | ||
| OWNERS | ||
| plugin_manager.go | ||
| plugin_manager_test.go | ||