mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-25 10:40:02 +08:00
* Fix TestConnectorSelection flakiness by refactoring connector selection Fixes #62895 Extracted connector selection logic into a separate `selectConnector()` method that can be tested without performing network connections. This eliminates the flakiness caused by DNS resolution and context cancellation races in the original test. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Use t.Context() inline instead of context.Background() * Add parameter names to function type signatures for clarity --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>