Actually add the new patch.
This commit is contained in:
parent
9c93c0a2f5
commit
ca72b1020b
13
patch-cassandane-base-port
Normal file
13
patch-cassandane-base-port
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Cassandane/PortManager.pm b/Cassandane/PortManager.pm
|
||||
index d1794eb..9a1e621 100644
|
||||
--- a/Cassandane/PortManager.pm
|
||||
+++ b/Cassandane/PortManager.pm
|
||||
@@ -53,7 +53,7 @@ sub alloc
|
||||
my $workerid = $ENV{TEST_UNIT_WORKER_ID} || '1';
|
||||
die "Invalid TEST_UNIT_WORKER_ID - code not run in Worker context"
|
||||
if (defined($workerid) && $workerid eq 'invalid');
|
||||
- $base_port = 9100 + $max_ports * ($workerid-1);
|
||||
+ $base_port = 19100 + $max_ports * ($workerid-1);
|
||||
}
|
||||
for (my $i = 0 ; $i < $max_ports ; $i++)
|
||||
{
|
Loading…
Reference in New Issue
Block a user