Fixing test so that it runs on CoreClr
This commit is contained in:
parent
e1a95c97e1
commit
0bfc97e46f
|
|
@ -367,7 +367,7 @@ namespace Microsoft.AspNet.Server.KestrelTests
|
|||
{
|
||||
using (var server = new TestServer(App, testContext))
|
||||
{
|
||||
var socket = new Socket(SocketType.Stream, ProtocolType.IP);
|
||||
var socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
|
||||
socket.Connect(IPAddress.Loopback, 54321);
|
||||
await Task.Delay(200);
|
||||
socket.Dispose();
|
||||
|
|
|
|||
Loading…
Reference in New Issue