mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
codership/mysql-wsrep#247: Fix test case
This commit is contained in:
@@ -16,6 +16,7 @@ Variable_name Value
|
||||
wsrep_desync OFF
|
||||
SET wsrep_OSU_method=TOI;
|
||||
DROP TABLE t1;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB;
|
||||
SET GLOBAL wsrep_desync=0;
|
||||
Warnings:
|
||||
@@ -35,6 +36,7 @@ t1 CREATE TABLE `t1` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
SET wsrep_OSU_method=TOI;
|
||||
DROP TABLE t1;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
CALL mtr.add_suppression("Protocol violation");
|
||||
CALL mtr.add_suppression("desync failed");
|
||||
CALL mtr.add_suppression("Protocol violation");
|
||||
|
||||
@@ -34,6 +34,7 @@ SHOW VARIABLES LIKE 'wsrep_desync';
|
||||
SET wsrep_OSU_method=TOI;
|
||||
|
||||
DROP TABLE t1;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
|
||||
# Next, test wsrep_desync 0 > 1 during DDL, currently not allowed
|
||||
|
||||
@@ -62,8 +63,11 @@ SET DEBUG_SYNC= 'now SIGNAL continue';
|
||||
--reap
|
||||
|
||||
SHOW CREATE TABLE t1;
|
||||
|
||||
# Restore old state
|
||||
SET wsrep_OSU_method=TOI;
|
||||
DROP TABLE t1;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
|
||||
CALL mtr.add_suppression("Protocol violation");
|
||||
CALL mtr.add_suppression("desync failed");
|
||||
|
||||
Reference in New Issue
Block a user