Files
STeve (Xin) HuangandClaude Sonnet 4.5 a32c69b581 Fix TestConnectorSelection flakiness by refactoring connector selection (#63242)
* 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>
2026-01-29 14:19:47 +00:00
..
2025-07-15 18:11:10 +00:00