Commit 17b5cb61 authored by Nirbhay Choubey's avatar Nirbhay Choubey

codership/mysql-wsrep#247: Fix test case

parent a6d93b20
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment