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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy