mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 20:30:50 +08:00 
			
		
		
		
	all acceptance tests passing
This commit is contained in:
		@@ -27,7 +27,7 @@ namespace Ocelot.AcceptanceTests
 | 
			
		||||
        public void should_load_balance_request_with_least_connection()
 | 
			
		||||
        {
 | 
			
		||||
            int portOne = 50591;
 | 
			
		||||
            int portTwo = 51482;
 | 
			
		||||
            int portTwo = 54483;
 | 
			
		||||
 | 
			
		||||
            var downstreamServiceOneUrl = $"http://localhost:{portOne}";
 | 
			
		||||
            var downstreamServiceTwoUrl = $"http://localhost:{portTwo}";
 | 
			
		||||
 
 | 
			
		||||
@@ -392,6 +392,7 @@ namespace Ocelot.AcceptanceTests
 | 
			
		||||
            _ocelotServer = new TestServer(_webHostBuilder);
 | 
			
		||||
 | 
			
		||||
            _ocelotClient = _ocelotServer.CreateClient();
 | 
			
		||||
            Thread.Sleep(1000);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void WhenIGetUrlOnTheApiGatewayWaitingForTheResponseToBeOk(string url)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user