Fixing "Error -4092 EACCES permission denied" in tests
A test is trying to bind to port 80 which fails if IIS is running on the machine
This commit is contained in:
parent
0753f06c28
commit
bcdd3147a1
|
|
@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
|
||||||
|
|
||||||
context.Response.Headers["Content-Length"] = new[] { "11" };
|
context.Response.Headers["Content-Length"] = new[] { "11" };
|
||||||
await context.Response.WriteAsync("Hello World");
|
await context.Response.WriteAsync("Hello World");
|
||||||
}, testContext, "http://127.0.0.1/\u0041\u030A"))
|
}, testContext, "http://127.0.0.1:0/\u0041\u030A"))
|
||||||
{
|
{
|
||||||
using (var connection = server.CreateConnection())
|
using (var connection = server.CreateConnection())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue