mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 17:28:16 +08:00
#1115 find available ports to use in acceptance tests
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
{
|
||||
var eurekaPort = 8761;
|
||||
var serviceName = "product";
|
||||
var downstreamServicePort = 50371;
|
||||
var downstreamServicePort = RandomPortFinder.GetRandomPort();
|
||||
var downstreamServiceOneUrl = $"http://localhost:{downstreamServicePort}";
|
||||
var fakeEurekaServiceDiscoveryUrl = $"http://localhost:{eurekaPort}";
|
||||
|
||||
|
Reference in New Issue
Block a user