Repository navigation
Set up HttpClient for ClientWebSocket.ConnectAsync - #73387
greenEkatherine merged 6 commits into
Conversation
|
Tagging subscribers to this area: @dotnet/ncl Issue DetailsFixes #72301 Detecting if we get Most part of PR is adding HttpClient/HttpMessageInvoker into all existing tests.
|
|
Tagging subscribers to this area: @dotnet/ncl Issue DetailsFixes #72301 Detecting if we get Most part of PR is adding HttpClient/HttpMessageInvoker into all existing tests.
|
…ockets/WebSocketHandle.Managed.cs Co-authored-by: Miha Zupan <[email protected]>
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
MihaZupan
left a comment
There was a problem hiding this comment.
There's a lot of duplication of ConnectAsync and GetConnectedWebSocket in tests.
Can they be implemented as helper methods on ClientWebSocketTestBase instead, with the only thing for tests to implement being
protected virtual HttpMessageInvoker? GetInvoker();?
Co-authored-by: Miha Zupan <[email protected]>
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Failures in the outerloop builds are unrelated |
Fixes #72476
Detecting if we get
HttpClientas a parameter inConnectAsync-- in that case anotherSendAsyncmethod should be called to provide correct options.Most part of PR is adding HttpClient/HttpMessageInvoker into all existing tests.