mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Most of the mtr tests in the galera_3nodes suite fail for a variety of reasons with a variety of errors. Some tests simply need to add the missing "connection" lines to the result files, but many of them fail due to substantial errors that require reworking test files. This patch adds the missing "connection" lines to the result files and fixes several substantial flaws in the galera_3nodes suite tests and in the mtr framework service files, adapting the tests from galera_3nodes for the current version of MariaDB. https://jira.mariadb.org/browse/MDEV-18426
29 lines
926 B
Text
29 lines
926 B
Text
connection node_1;
|
|
connection node_2;
|
|
connection node_3;
|
|
Killing node #3 to free ports for garbd ...
|
|
connection node_3;
|
|
connection node_1;
|
|
Starting garbd ...
|
|
CREATE TABLE t1 (f1 INTEGER);
|
|
INSERT INTO t1 VALUES (1);
|
|
connection node_2;
|
|
SELECT COUNT(*) = 1 FROM t1;
|
|
COUNT(*) = 1
|
|
1
|
|
Killing garbd ...
|
|
connection node_1;
|
|
INSERT INTO t1 VALUES (2);
|
|
connection node_2;
|
|
SELECT COUNT(*) = 2 FROM t1;
|
|
COUNT(*) = 2
|
|
1
|
|
DROP TABLE t1;
|
|
Restarting node #3 to satisfy MTR's end-of-test checks
|
|
connection node_3;
|
|
connection node_1;
|
|
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)");
|
|
connection node_2;
|
|
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)");
|
|
connection node_3;
|
|
CALL mtr.add_suppression("WSREP: Protocol violation\. JOIN message sender 1\.0 \(.*\) is not in state transfer \(SYNCED\)");
|