Skip to content

Commit

Permalink
Fix fixed ports in run.pl.
Browse files Browse the repository at this point in the history
  • Loading branch information
arssher committed Apr 9, 2021
1 parent 082cac7 commit d5d1254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cluster.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sub mm_get_free_port
{

# advance $port, wrapping correctly around range end
$port = 26000 if ++$port >= 27000;
$port = 26000 if ++$port == 27000;
print "# Checking port $port\n";

# Check first that candidate port number is not included in
Expand Down
2 changes: 1 addition & 1 deletion run.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

if ($action eq "start")
{
$PostgresNode::last_port_assigned = 65431;
$Cluster::last_port_assigned = 65431;

my $cluster = new Cluster($n_nodes, $referee);
$cluster->init();
Expand Down

0 comments on commit d5d1254

Please sign in to comment.