mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Fix/disable some failing galera tests.
This commit is contained in:
@@ -28,4 +28,6 @@ galera_flush : mysql-wsrep/issues/229
|
|||||||
galera_transaction_read_only : mysql-wsrep/issues/229
|
galera_transaction_read_only : mysql-wsrep/issues/229
|
||||||
galera_gcs_fragment : Incorrect arguments to SET
|
galera_gcs_fragment : Incorrect arguments to SET
|
||||||
galera_flush_local : Fails sporadically
|
galera_flush_local : Fails sporadically
|
||||||
galera_binlog_stmt_autoinc : TODO: investigate
|
galera_binlog_stmt_autoinc : TODO: investigate
|
||||||
|
galera_sst_xtrabackup-v2-options : TODO: Fix test case
|
||||||
|
mysql-wsrep#33 : TODO: investigate
|
||||||
|
@@ -32,4 +32,10 @@ if ($node_3)
|
|||||||
--connection $node_3
|
--connection $node_3
|
||||||
--eval SET @@global.auto_increment_offset = $auto_increment_offset_node_3;
|
--eval SET @@global.auto_increment_offset = $auto_increment_offset_node_3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($node_4)
|
||||||
|
{
|
||||||
|
--connection $node_4
|
||||||
|
--eval SET @@global.auto_increment_offset = $auto_increment_offset_node_4;
|
||||||
|
}
|
||||||
--enable_query_log
|
--enable_query_log
|
||||||
|
@@ -13,6 +13,8 @@
|
|||||||
# Connection handle for 2nd node
|
# Connection handle for 2nd node
|
||||||
# $node_3 (optional)
|
# $node_3 (optional)
|
||||||
# Connection handle for 3rd node
|
# Connection handle for 3rd node
|
||||||
|
# $node_4 (optional)
|
||||||
|
# Connection handle for 4th node
|
||||||
|
|
||||||
if (!$node_1)
|
if (!$node_1)
|
||||||
{
|
{
|
||||||
@@ -35,3 +37,9 @@ if ($node_3)
|
|||||||
let $auto_increment_offset_node_3 = `SELECT @@global.auto_increment_offset`;
|
let $auto_increment_offset_node_3 = `SELECT @@global.auto_increment_offset`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($node_4)
|
||||||
|
{
|
||||||
|
--connection $node_4
|
||||||
|
let $auto_increment_offset_node_4 = `SELECT @@global.auto_increment_offset`;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -277,7 +277,7 @@ INSERT INTO t1 VALUES ('node2_committed_before');
|
|||||||
INSERT INTO t1 VALUES ('node2_committed_before');
|
INSERT INTO t1 VALUES ('node2_committed_before');
|
||||||
INSERT INTO t1 VALUES ('node2_committed_before');
|
INSERT INTO t1 VALUES ('node2_committed_before');
|
||||||
COMMIT;
|
COMMIT;
|
||||||
SET GLOBAL debug = 'd,sync.alter_opened_table';
|
SET GLOBAL debug_dbug = 'd,sync.alter_opened_table';
|
||||||
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
|
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
|
||||||
SET wsrep_sync_wait = 0;
|
SET wsrep_sync_wait = 0;
|
||||||
Killing server ...
|
Killing server ...
|
||||||
@@ -356,3 +356,4 @@ COUNT(*) = 0
|
|||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
COMMIT;
|
COMMIT;
|
||||||
SET AUTOCOMMIT=ON;
|
SET AUTOCOMMIT=ON;
|
||||||
|
SET GLOBAL debug_dbug = $debug_orig;
|
||||||
|
@@ -3,6 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
--source include/big_test.inc
|
--source include/big_test.inc
|
||||||
|
--source include/have_innodb.inc
|
||||||
--source include/galera_cluster.inc
|
--source include/galera_cluster.inc
|
||||||
|
|
||||||
# We perform the shutdown/restart sequence in here. If there was a crash during shutdown, MTR will detect it
|
# We perform the shutdown/restart sequence in here. If there was a crash during shutdown, MTR will detect it
|
||||||
|
@@ -2,8 +2,18 @@
|
|||||||
--source include/galera_cluster.inc
|
--source include/galera_cluster.inc
|
||||||
--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
|
|
||||||
|
# Save original auto_increment_offset values.
|
||||||
|
--let $node_1=node_1
|
||||||
|
--let $node_2=node_2
|
||||||
|
--source include/auto_increment_offset_save.inc
|
||||||
|
|
||||||
--source suite/galera/include/galera_st_shutdown_slave.inc
|
--source suite/galera/include/galera_st_shutdown_slave.inc
|
||||||
--source suite/galera/include/galera_st_clean_slave.inc
|
--source suite/galera/include/galera_st_clean_slave.inc
|
||||||
|
|
||||||
--source suite/galera/include/galera_st_kill_slave.inc
|
--source suite/galera/include/galera_st_kill_slave.inc
|
||||||
--source suite/galera/include/galera_st_kill_slave_ddl.inc
|
--source suite/galera/include/galera_st_kill_slave_ddl.inc
|
||||||
|
|
||||||
|
# Restore original auto_increment_offset values.
|
||||||
|
--source include/auto_increment_offset_restore.inc
|
||||||
|
|
||||||
|
--source include/galera_end.inc
|
||||||
|
@@ -12,6 +12,16 @@
|
|||||||
--source include/galera_cluster.inc
|
--source include/galera_cluster.inc
|
||||||
--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
|
|
||||||
|
--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
|
||||||
|
--connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4
|
||||||
|
|
||||||
|
# Save original auto_increment_offset values.
|
||||||
|
--let $node_1=node_1
|
||||||
|
--let $node_2=node_2
|
||||||
|
--let $node_3=node_3
|
||||||
|
--let $node_4=node_4
|
||||||
|
--source include/auto_increment_offset_save.inc
|
||||||
|
|
||||||
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
||||||
|
|
||||||
--connection node_1
|
--connection node_1
|
||||||
@@ -21,11 +31,9 @@ INSERT INTO t1 VALUES (1);
|
|||||||
--connection node_2
|
--connection node_2
|
||||||
INSERT INTO t1 VALUES (2);
|
INSERT INTO t1 VALUES (2);
|
||||||
|
|
||||||
--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
|
|
||||||
--connection node_3
|
--connection node_3
|
||||||
INSERT INTO t1 VALUES (3);
|
INSERT INTO t1 VALUES (3);
|
||||||
|
|
||||||
--connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4
|
|
||||||
--connection node_4
|
--connection node_4
|
||||||
INSERT INTO t1 VALUES (4);
|
INSERT INTO t1 VALUES (4);
|
||||||
|
|
||||||
@@ -146,3 +154,8 @@ CALL mtr.add_suppression("Action message in non-primary configuration from membe
|
|||||||
|
|
||||||
--connection node_4
|
--connection node_4
|
||||||
CALL mtr.add_suppression("Action message in non-primary configuration from member 0");
|
CALL mtr.add_suppression("Action message in non-primary configuration from member 0");
|
||||||
|
|
||||||
|
# Restore original auto_increment_offset values.
|
||||||
|
--source include/auto_increment_offset_restore.inc
|
||||||
|
|
||||||
|
--source include/galera_end.inc
|
||||||
|
@@ -3,3 +3,5 @@ galera_evs_suspect_timeout : TODO: investigate
|
|||||||
galera_innobackupex_backup : TODO: investigate
|
galera_innobackupex_backup : TODO: investigate
|
||||||
galera_slave_options_do :MDEV-8798
|
galera_slave_options_do :MDEV-8798
|
||||||
galera_slave_options_ignore : MDEV-8798
|
galera_slave_options_ignore : MDEV-8798
|
||||||
|
galera_pc_bootstrap : TODO: Investigate: Timeout in wait_condition.inc
|
||||||
|
galera_pc_weight : Test times out
|
||||||
|
Reference in New Issue
Block a user