updated acceptance and integration tests to use unique ports (#1091)

* updated acceptance and integration tests to use unique ports

* fix broken travis builds

* fix change port
This commit is contained in:
Tom Pallister
2020-01-13 20:43:21 +00:00
committed by GitHub
parent 41519b1e56
commit fab09ab4dc
10 changed files with 69 additions and 69 deletions

View File

@ -53,7 +53,7 @@ namespace Ocelot.IntegrationTests
new FileHostAndPort
{
Host = "localhost",
Port = 51879,
Port = 51611,
},
},
UpstreamPathTemplate = "/",
@ -63,7 +63,7 @@ namespace Ocelot.IntegrationTests
};
this.Given(x => GivenThereIsAConfiguration(configuration))
.And(x => GivenThereIsAServiceRunningOn("http://localhost:51879"))
.And(x => GivenThereIsAServiceRunningOn("http://localhost:51611"))
.And(x => GivenOcelotIsRunning())
.When(x => WhenIGetUrlOnTheApiGatewayMultipleTimesWithDifferentHeaderValues("/", 300))
.Then(x => ThenTheSameHeaderValuesAreReturnedByTheDownstreamService())