mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 19:50:49 +08:00 
			
		
		
		
	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:
		@@ -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())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user