mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
6b7098cb20
updated test suite to always test if slave obeys stop/start commands
13 lines
476 B
PHP
13 lines
476 B
PHP
connect (master,localhost,root,,test,0,var/tmp/mysql.sock);
|
|
connect (master1,localhost,root,,test,0,var/tmp/mysql.sock);
|
|
connect (slave,localhost,root,,test,0,var/tmp/mysql-slave.sock);
|
|
connect (slave1,localhost,root,,test,0,var/tmp/mysql-slave.sock);
|
|
connection slave;
|
|
!slave stop;
|
|
@r/slave-stopped.result show status like 'Slave_running';
|
|
connection master;
|
|
reset master;
|
|
connection slave;
|
|
reset slave;
|
|
slave start;
|
|
@r/slave-running.result show status like 'Slave_running';
|