#603 return 502 on HttpRequestException

This commit is contained in:
jlukawska 2020-01-22 16:14:20 +01:00
parent 8985495f38
commit cbb21a13b3
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
new FileHostAndPort new FileHostAndPort
{ {
Host = "localhost", Host = "localhost",
Port = 53876, Port = 53877,
}, },
}, },
DownstreamScheme = "http", DownstreamScheme = "http",

View File

@ -89,7 +89,7 @@ namespace Ocelot.AcceptanceTests
.And(x => _steps.GivenThereIsAConfiguration(configuration)) .And(x => _steps.GivenThereIsAConfiguration(configuration))
.And(x => _steps.GivenOcelotIsRunning()) .And(x => _steps.GivenOcelotIsRunning())
.When(x => _steps.WhenIGetUrlOnTheApiGateway("/")) .When(x => _steps.WhenIGetUrlOnTheApiGateway("/"))
.Then(x => _steps.ThenTheStatusCodeShouldBe(HttpStatusCode.InternalServerError)) .Then(x => _steps.ThenTheStatusCodeShouldBe(HttpStatusCode.BadGateway))
.BDDfy(); .BDDfy();
} }