mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-23 02:00:12 +00:00
Fixes TestConnectionHandling/no-wipe-on-reconnect which was failing with "Only one usage of each socket address is normally permitted" because the teardown function wasn't waiting for the gRPC server to fully shut down before returning, causing socket cleanup issues in subsequent test runs. The fix ensures proper synchronization during server shutdown so that the Unix socket is fully released before the teardown completes. This prevents socket binding conflicts when tests run in sequence.