Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Add test for SafeHandle handling in Socket.Select - #42018

Merged
stephentoub merged 1 commit into
dotnet:masterfrom
stephentoub:safehandletest
Oct 23, 2019
Merged

Add test for SafeHandle handling in Socket.Select#42018
stephentoub merged 1 commit into
dotnet:masterfrom
stephentoub:safehandletest

Conversation

@stephentoub

Copy link
Copy Markdown
Member

Test for #41763
cc: @tmds

@davidsh davidsh added this to the 5.0 milestone Oct 23, 2019
@davidsh davidsh added the test enhancement Improvements of test source code label Oct 23, 2019
}
finally
{
DisposeSockets(socketPairs);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: looking at the test method, it's not clear that DisposeSockets will Assert IsClosed.

@tmds tmds left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@stephentoub
stephentoub merged commit 57c3a54 into dotnet:master Oct 23, 2019
@stephentoub
stephentoub deleted the safehandletest branch October 23, 2019 13:30
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Sockets test enhancement Improvements of test source code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants