mirror of
https://github.com/MariaDB/server.git
synced 2025-12-04 17:23:46 +03:00
Fix galera_as_slave_gtid.test galera_var_gtid_domain_id galera.mdev_10518.test
Clean the binlog on nodes after test is complete
This commit is contained in:
@@ -14,3 +14,7 @@ gtid_binlog_state_equal
|
|||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
STOP SLAVE;
|
STOP SLAVE;
|
||||||
RESET SLAVE ALL;
|
RESET SLAVE ALL;
|
||||||
|
#cleanup
|
||||||
|
reset master;
|
||||||
|
reset master;
|
||||||
|
reset master;
|
||||||
|
|||||||
@@ -71,4 +71,7 @@ wsrep_gtid_domain_id 9999
|
|||||||
wsrep_gtid_mode 1
|
wsrep_gtid_mode 1
|
||||||
# On node_1
|
# On node_1
|
||||||
DROP TABLE t1, t2;
|
DROP TABLE t1, t2;
|
||||||
|
#cleanup
|
||||||
|
reset master;
|
||||||
|
reset master;
|
||||||
# End of test
|
# End of test
|
||||||
|
|||||||
@@ -71,4 +71,7 @@ wsrep_gtid_domain_id 4294967295
|
|||||||
wsrep_gtid_mode 1
|
wsrep_gtid_mode 1
|
||||||
# On node_1
|
# On node_1
|
||||||
DROP TABLE t1, t2;
|
DROP TABLE t1, t2;
|
||||||
|
#cleanup
|
||||||
|
reset master;
|
||||||
|
reset master;
|
||||||
# End of test
|
# End of test
|
||||||
|
|||||||
@@ -65,3 +65,13 @@ DROP TABLE t1;
|
|||||||
|
|
||||||
STOP SLAVE;
|
STOP SLAVE;
|
||||||
RESET SLAVE ALL;
|
RESET SLAVE ALL;
|
||||||
|
|
||||||
|
--echo #cleanup
|
||||||
|
--connection node_1
|
||||||
|
reset master;
|
||||||
|
|
||||||
|
--connection node_2
|
||||||
|
reset master;
|
||||||
|
|
||||||
|
--connection node_3
|
||||||
|
reset master;
|
||||||
|
|||||||
@@ -48,6 +48,13 @@ source include/print_gtid.inc;
|
|||||||
# Cleanup
|
# Cleanup
|
||||||
DROP TABLE t1, t2;
|
DROP TABLE t1, t2;
|
||||||
|
|
||||||
|
--echo #cleanup
|
||||||
|
--connection node_1
|
||||||
|
reset master;
|
||||||
|
|
||||||
|
--connection node_2
|
||||||
|
reset master;
|
||||||
|
|
||||||
--source include/galera_end.inc
|
--source include/galera_end.inc
|
||||||
--echo # End of test
|
--echo # End of test
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,13 @@ source include/print_gtid.inc;
|
|||||||
# Cleanup
|
# Cleanup
|
||||||
DROP TABLE t1, t2;
|
DROP TABLE t1, t2;
|
||||||
|
|
||||||
|
--echo #cleanup
|
||||||
|
--connection node_1
|
||||||
|
reset master;
|
||||||
|
|
||||||
|
--connection node_2
|
||||||
|
reset master;
|
||||||
|
|
||||||
--source include/galera_end.inc
|
--source include/galera_end.inc
|
||||||
--echo # End of test
|
--echo # End of test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user