1
0
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:
Elena Stepanova
2012-09-28 09:28:40 +04:00
parent 222883b0d6
commit 9b03041b27
6 changed files with 180 additions and 1 deletions

View File

@ -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;