-
Notifications
You must be signed in to change notification settings - Fork 5k
Write_HeadersToClosedConnectionSynchronously_ThrowsHttpListenerException test fails on macOS #21590
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
Comments
Closing as dupe. |
Several tests are [ActiveIssue(...)]'d against this, e.g. runtime/src/libraries/System.Net.HttpListener/tests/HttpResponseStreamTests.cs Lines 499 to 504 in 04f2226
|
I tried it on macOS and I it seems to work now. But it is inheritently unreliable and disabled on Windows as well. I think it works on Linux only by good luck. The test closes client side and depends on "abortive" behavior. When the Close in WaitForSocketShutdown() is finished, there is no guarantee that the server actually processed the RST and that the socket in closed state. We could add some arbitraty delay but that still seems problematic. please cast your vote @stephentoub @geoffkizer I think #21940 is on the same boat using exactly same strategy. I just don't see value keeping those old issues open. |
I vote delete |
Sounds fine |
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process. This process is part of our issue cleanup automation. |
The text was updated successfully, but these errors were encountered: