File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/libraries/System.Net.Sockets/tests/FunctionalTests Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,14 @@ public async Task DisconnectAndReuse_ReconnectSync_ThrowsInvalidOperationExcepti
73
73
}
74
74
}
75
75
76
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/118314" ) ]
77
76
[ Theory ]
78
77
[ InlineData ( true ) ]
79
78
[ InlineData ( false ) ]
80
- public async Task Disconnect_NotConnected_ThrowsInvalidOperationException ( bool reuseSocket )
79
+ public async Task Disconnect_NotConnected_ThrowsSocketException ( bool reuseSocket )
81
80
{
82
81
using ( Socket s = new Socket ( AddressFamily . InterNetwork , SocketType . Stream , ProtocolType . Tcp ) )
83
82
{
84
- await Assert . ThrowsAsync < InvalidOperationException > ( async ( ) => await DisconnectAsync ( s , reuseSocket ) ) ;
83
+ await Assert . ThrowsAsync < SocketException > ( async ( ) => await DisconnectAsync ( s , reuseSocket ) ) ;
85
84
}
86
85
}
87
86
You can’t perform that action at this time.
0 commit comments