mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
MDEV-17421: mtr does not restart the server whose parameters were changed
remove tests that rely on specific execution order
This commit is contained in:
parent
2d098933ee
commit
7886a70ef9
4 changed files with 0 additions and 58 deletions
|
@ -1,5 +0,0 @@
|
|||
include/master-slave.inc
|
||||
[connection master]
|
||||
include/rpl_stop_server.inc [server_number=1]
|
||||
new auto_increment_offset=111
|
||||
include/rpl_end.inc
|
|
@ -1,4 +0,0 @@
|
|||
include/master-slave.inc
|
||||
[connection master]
|
||||
auto_increment_offset=1
|
||||
include/rpl_end.inc
|
|
@ -1,31 +0,0 @@
|
|||
# This test verifies that mtr will restart the mysqld process,
|
||||
# whose parameters were changed during the test. The verification
|
||||
# itself is carried out in the following mtr_restart_t2 test.
|
||||
# If mtr restart the mysqld process, then the auto_increment_offset
|
||||
# parameter value will be reset to the default ("1"), but if there
|
||||
# is no restart, then we will see the changed value ("111") during
|
||||
# the next test.
|
||||
#
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
connection master;
|
||||
|
||||
let $auto_increment_offset = `SELECT @@global.auto_increment_offset`;
|
||||
|
||||
--let $rpl_server_number=1
|
||||
source include/rpl_stop_server.inc;
|
||||
--let $rpl_server_parameters=--auto-increment-offset=111
|
||||
--let $keep_include_silent=1
|
||||
source include/rpl_start_server.inc;
|
||||
--let $keep_include_silent=0
|
||||
|
||||
let $auto_increment_offset_new = `SELECT @@global.auto_increment_offset`;
|
||||
--echo new auto_increment_offset=$auto_increment_offset_new
|
||||
|
||||
--disable_query_log
|
||||
--eval SET @@global.auto_increment_offset = $auto_increment_offset;
|
||||
--enable_query_log
|
||||
|
||||
--connection master
|
||||
--source include/rpl_end.inc
|
|
@ -1,18 +0,0 @@
|
|||
# This test verifies that mtr will restart the mysqld process,
|
||||
# whose parameters were changed during the previous test. If mtr
|
||||
# restart the mysqld process, then the auto_increment_offsert
|
||||
# parameter value will be reset to the default ("1"), but if there
|
||||
# is no restart, then we will see the changed value ("111") in
|
||||
# this test.
|
||||
#
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
connection master;
|
||||
|
||||
let $auto_increment_offset = `SELECT @@global.auto_increment_offset`;
|
||||
|
||||
--echo auto_increment_offset=$auto_increment_offset
|
||||
|
||||
--connection master
|
||||
--source include/rpl_end.inc
|
Loading…
Add table
Reference in a new issue