mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
Use a buffered channel for the operation start signal to prevent goroutines from blocking indefinitely. When the test receiver times out before all goroutines send their signal, an unbuffered channel causes those goroutines to block forever on the send operation. The buffer size is computed dynamically using max() to ensure it always accommodates the maximum number of concurrent operations any test may spawn.