Commit 58eb951b authored by Andrei Elkin's avatar Andrei Elkin

bug#50296

a small refinement to the test
parent e8de82d3
...@@ -11,7 +11,7 @@ set @@global.general_log = ON; ...@@ -11,7 +11,7 @@ set @@global.general_log = ON;
set @@global.log_output = 'table,file'; set @@global.log_output = 'table,file';
include/stop_slave.inc include/stop_slave.inc
set @@global.slave_net_timeout = @@global.net_read_timeout * 2; set @@global.slave_net_timeout = @@global.net_read_timeout * 2;
change master to master_host = '127.0.0.1',master_port = 13020, change master to master_host = '127.0.0.1',master_port = MASTER_PORT,
master_user = 'root', master_heartbeat_period = 0; master_user = 'root', master_heartbeat_period = 0;
include/start_slave.inc include/start_slave.inc
include/stop_slave.inc include/stop_slave.inc
......
...@@ -38,7 +38,7 @@ let $idle_time=`select @@global.slave_net_timeout * 2`; ...@@ -38,7 +38,7 @@ let $idle_time=`select @@global.slave_net_timeout * 2`;
# slave.net_read_timeout < slave_net_timeout # slave.net_read_timeout < slave_net_timeout
# won't cause reconnecting by the slave within at least # won't cause reconnecting by the slave within at least
# slave_net_timeout interval. # slave_net_timeout interval.
--replace_result $MASTER_MYPORT MASTER_PORT
eval change master to master_host = '127.0.0.1',master_port = $MASTER_MYPORT, eval change master to master_host = '127.0.0.1',master_port = $MASTER_MYPORT,
master_user = 'root', master_heartbeat_period = 0; master_user = 'root', master_heartbeat_period = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment