test(transport): run cold-path failover test in parallel · Entire
test(transport): run cold-path failover test in parallel
3c92a94·
computermode·2w ago·1 file·+1 added/-0 removed
Add t.Parallel() to match the file convention. The test uses only per-test httptest servers and local state, and its closest analog (TestOnNodeFailedCalledOnConnectionError, which also asserts a failed-node callback fires off a closed server) is already parallel.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Sessions
adace5085fe8View transcript
Changes
1
internal/remotehelper/transport
Mproxy_test.go+1
872 unmodified lines
873
874
875
876
877
878
879
872 unmodified lines
}
func TestColdPathFailoverWhenRedirectTargetUnreachable(t *testing.T) {
t.Parallel()
dead := closedServerURL()
var aliveURL string
Minternal/remotehelper/transport/proxy_test.go+1