Fixing pipe name in test

This commit is contained in:
Louis DeJardin 2015-07-24 15:23:01 -07:00
parent 3d45602513
commit 598250a1d8
1 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ namespace Microsoft.AspNet.Server.KestrelTests
var serverListenPipe = new UvPipeHandle(); var serverListenPipe = new UvPipeHandle();
serverListenPipe.Init(loop, false); serverListenPipe.Init(loop, false);
serverListenPipe.Bind(@"\\.\pipe\ServerPipeListenForConnections"); serverListenPipe.Bind(@"\\.\pipe\ServerPipeDispatchConnections");
serverListenPipe.Listen(128, (_1, status, error, _2) => serverListenPipe.Listen(128, (_1, status, error, _2) =>
{ {
serverConnectionPipe = new UvPipeHandle(); serverConnectionPipe = new UvPipeHandle();
@ -194,7 +194,7 @@ namespace Microsoft.AspNet.Server.KestrelTests
loop2.Init(_uv); loop2.Init(_uv);
clientConnectionPipe.Init(loop2, true); clientConnectionPipe.Init(loop2, true);
connect.Init(loop2); connect.Init(loop2);
connect.Connect(clientConnectionPipe, @"\\.\pipe\ServerPipeListenForConnections", (_1, status, error, _2) => connect.Connect(clientConnectionPipe, @"\\.\pipe\ServerPipeDispatchConnections", (_1, status, error, _2) =>
{ {
connect.Dispose(); connect.Dispose();