mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Tests for Multi-source replication (MDEV-253)
This commit is contained in:
@ -9,8 +9,12 @@ eval change master 'slave1' to master_port=$SERVER_MYPORT_1, master_host='127.0.
|
||||
--replace_result $SERVER_MYPORT_2 MYPORT_2
|
||||
eval change master 'slave2' to master_port=$SERVER_MYPORT_2, master_host='127.0.0.1', master_user='root';
|
||||
start slave 'slave1';
|
||||
set default_master_connection = 'slave1';
|
||||
--source include/wait_for_slave_to_start.inc
|
||||
set default_master_connection = 'slave2';
|
||||
start slave 'slave2';
|
||||
--sleep 5
|
||||
--source include/wait_for_slave_to_start.inc
|
||||
set default_master_connection = '';
|
||||
|
||||
--replace_result $SERVER_MYPORT_1 MYPORT_1 $SERVER_MYPORT_2 MYPORT_2
|
||||
show full slave status;
|
||||
|
Reference in New Issue
Block a user