-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP][wasm][testing] remote loop network tests via xharness and websocket #54289
[WIP][wasm][testing] remote loop network tests via xharness and websocket #54289
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsMake it possible to run
|
Author: | pavelsavara |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
/azp run runtime |
Azure Pipelines successfully started running 1 pipeline(s). |
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsMake it possible to run
|
Author: | pavelsavara |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
/azp run runtime-libraries-mono outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-libraries-mono outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good to me.
I'm not sure I like the SocketWrapper
name but I did not come up with anything better.
Long run we may add the CORS headers where needed to avoid fork for Browser.
cc: @dotnet/ncl @stephentoub for visibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some minor comments, thanks.
src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs
Outdated
Show resolved
Hide resolved
- conditional compilation of LoopbackServer via #if TARGET_BROWSER - minimal implementation of WebSocketStream for the unit tests - simple SocketWrapper class to abstract Socket and WebSocket close/dispose/shutdown - added handlind of CORS headers and pre-flight requests as necessary - new xharness web server middleware - adding it to helix payload - better categorization of tests originally under 42852, 34690 - new active issues 54153,37669,54156,54270,54160,53876,54163
c3bdadd
to
42ad7fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some nits, and questions. Nothing to block this over.
Make it possible to run
LoopbackServer
tests with WASMvia moving the listening socket out of WASM process into xharness process and forwarding it via WebSockets
Contributes to #42852
xharness
tests