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:
@ -23,7 +23,7 @@ namespace Ocelot.AcceptanceTests
|
||||
[Fact]
|
||||
public void should_dangerous_accept_any_server_certificate_validator()
|
||||
{
|
||||
int port = 51129;
|
||||
int port = RandomPortFinder.GetRandomPort();
|
||||
|
||||
var configuration = new FileConfiguration
|
||||
{
|
||||
@ -60,7 +60,7 @@ namespace Ocelot.AcceptanceTests
|
||||
[Fact]
|
||||
public void should_not_dangerous_accept_any_server_certificate_validator()
|
||||
{
|
||||
int port = 52129;
|
||||
int port = RandomPortFinder.GetRandomPort();
|
||||
|
||||
var configuration = new FileConfiguration
|
||||
{
|
||||
|
Reference in New Issue
Block a user