Skip to content

Commit d5d1254

Browse files
committed
Fix fixed ports in run.pl.
1 parent 082cac7 commit d5d1254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cluster.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sub mm_get_free_port
3232
{
3333

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

3838
# Check first that candidate port number is not included in

run.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
if ($action eq "start")
2121
{
22-
$PostgresNode::last_port_assigned = 65431;
22+
$Cluster::last_port_assigned = 65431;
2323

2424
my $cluster = new Cluster($n_nodes, $referee);
2525
$cluster->init();

0 commit comments

Comments
 (0)