Skip to content

Commit

Permalink
test: enlarge available local port detection range
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Sep 28, 2018
1 parent 5df4d96 commit c804161
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion t/agent/http/client/connection.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use FusionInventory::Test::Utils;
unsetProxyEnvVar();

# find an available port
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8090;
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8180;

if (!$port) {
plan skip_all => 'no port available';
Expand Down
2 changes: 1 addition & 1 deletion t/agent/http/client/fusion/response.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use FusionInventory::Test::Utils;
unsetProxyEnvVar();

# find an available port
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8090;
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8180;

if (!$port) {
plan skip_all => 'no available port';
Expand Down
2 changes: 1 addition & 1 deletion t/agent/http/client/ocs/response.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use FusionInventory::Test::Utils;
unsetProxyEnvVar();

# find an available port
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8090;
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8180;

if (!$port) {
plan skip_all => 'no available port';
Expand Down
2 changes: 1 addition & 1 deletion t/agent/http/client/ssl.t
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use Net::HTTPS;
unsetProxyEnvVar();

# find an available port
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8090;
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8180;

if (!$port) {
plan skip_all => 'no available port';
Expand Down
2 changes: 1 addition & 1 deletion t/agent/http/server.t
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ ok (
);

# find an available port
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8090;
my $port = FusionInventory::Agent::Tools::first { test_port($_) } 8080 .. 8180;

lives_ok {
$server = FusionInventory::Agent::HTTP::Server->new(
Expand Down

0 comments on commit c804161

Please sign in to comment.