mirror of
https://github.com/MariaDB/server.git
synced 2025-03-13 10:38:37 +01:00
mysql-test-run.pl:
Display instance manager port mysql-test-run.sh: Give port space for more than one slave mysql-test/mysql-test-run.sh: Give port space for more than one slave mysql-test/mysql-test-run.pl: Display instance manager port
This commit is contained in:
parent
a183a425ab
commit
8824fd1c3b
2 changed files with 2 additions and 1 deletions
mysql-test
|
@ -1144,6 +1144,7 @@ sub environment_setup () {
|
|||
print "Using MASTER_MYPORT1 = $ENV{MASTER_MYPORT1}\n";
|
||||
print "Using SLAVE_MYPORT = $ENV{SLAVE_MYPORT}\n";
|
||||
print "Using NDBCLUSTER_PORT = $opt_ndbcluster_port\n";
|
||||
print "Using IM_PORT = $instance_manager->{'port'}\n";
|
||||
print "Using IM_MYSQLD1_PORT = $ENV{'IM_MYSQLD1_PORT'}\n";
|
||||
print "Using IM_MYSQLD2_PORT = $ENV{'IM_MYSQLD2_PORT'}\n";
|
||||
}
|
||||
|
|
|
@ -253,7 +253,7 @@ if [ -n "$MTR_BUILD_THREAD" ] ; then
|
|||
MASTER_MYPORT=`expr $MTR_BUILD_THREAD '*' 10 + 10000`
|
||||
MYSQL_MANAGER_PORT=`expr $MASTER_MYPORT + 2`
|
||||
SLAVE_MYPORT=`expr $MASTER_MYPORT + 3`
|
||||
NDBCLUSTER_PORT=`expr $MASTER_MYPORT + 4`
|
||||
NDBCLUSTER_PORT=`expr $MASTER_MYPORT + 6`
|
||||
|
||||
echo "Using MTR_BUILD_THREAD = $MTR_BUILD_THREAD"
|
||||
echo "Using MASTER_MYPORT = $MASTER_MYPORT"
|
||||
|
|
Loading…
Add table
Reference in a new issue