summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/t/rpl_stop_slave_error.test
blob: a88981c15c4fddcd00d08a1c26829e0f4e65943b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# MDEV-8345 STOP SLAVE should not cause an ERROR to be logged to the error log
#
source include/have_binlog_format_mixed.inc; # don't repeat the test three times
source include/master-slave.inc;

connection master;
sync_slave_with_master;
source include/stop_slave.inc;
let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/slave_log.err;
let SEARCH_PATTERN=Error reading packet from server: Lost connection;
let SEARCH_RANGE= -50000;
source include/search_pattern_in_file.inc;

source include/start_slave.inc;
source include/rpl_end.inc;