MDEV-8154 rpl.show_status_stop_slave_race-7126 sporadically causes internal check failure

The test did not have a proper replication cleanup
This commit is contained in:
Elena Stepanova 2015-05-13 15:17:19 +03:00
parent b3d3dd25eb
commit 0b4231e9f1
2 changed files with 9 additions and 0 deletions

View File

@ -1,2 +1,4 @@
include/master-slave.inc
[connection master]
start slave;
include/rpl_end.inc

View File

@ -10,3 +10,10 @@
--exec $MYSQL_SLAP --silent --socket=$SLAVE_MYSOCK -q "START SLAVE; STOP SLAVE; SHOW GLOBAL STATUS" -c 2 --number-of-queries=100 --create-schema=test
# All done.
--connection slave
start slave;
--connection master
--source include/rpl_end.inc