Skip to content

Fix 48934 test quarantine. #48936

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

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

mitchdenny
Copy link
Member

This PR fixes the reason why we had to quarantine the WebSocket_Abort_Interrupts_Pending_ReceiveAsync test case in issue #48934

The test in its original form was very timing sensitive in that if WebSocket.Abort(...) was called before WebSocket.ReceiveAsync(...) the exception thrown would change.

This change in the test case exerts more control over the exact sequence of events so that the call to ReceiveAsync(...) is made before WebSocket.Abort(...) is called so we are not subject to timing issues.

@mitchdenny mitchdenny force-pushed the fix-48934-test-quarantine branch from 793b265 to 2388875 Compare June 21, 2023 06:38
@mitchdenny mitchdenny force-pushed the fix-48934-test-quarantine branch from 2388875 to 590f70b Compare June 21, 2023 09:01
@mitchdenny mitchdenny requested a review from JamesNK June 21, 2023 23:45
@mitchdenny mitchdenny merged commit 0356ba0 into dotnet:main Jun 22, 2023
@ghost ghost added this to the 8.0-preview7 milestone Jun 22, 2023
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants