Skip to content

Commit

Permalink
Adjust tests now that wsrep_OSU_method is a session variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-galera authored and Nirbhay Choubey committed May 8, 2015
1 parent 00afd63 commit 504ff56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mysql-test/suite/galera/r/galera_var_OSU_method.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
SET GLOBAL wsrep_OSU_method = "RSU";
SET SESSION wsrep_OSU_method = "RSU";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
SET GLOBAL wsrep_OSU_method = "TOI";
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/galera/r/galera_var_OSU_method2.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
SET GLOBAL wsrep_OSU_method = "TOI";
SET SESSION wsrep_OSU_method = "TOI";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
SET SESSION wsrep_sync_wait = 0;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/galera/t/galera_var_OSU_method.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;

--connection node_1
SET GLOBAL wsrep_OSU_method = "RSU";
SET SESSION wsrep_OSU_method = "RSU";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
--send ALTER TABLE t1 ADD COLUMN f2 INTEGER;

Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/galera/t/galera_var_OSU_method2.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;

--connection node_1
SET GLOBAL wsrep_OSU_method = "TOI";
SET SESSION wsrep_OSU_method = "TOI";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
--send ALTER TABLE t1 ADD COLUMN f2 INTEGER;

Expand Down

0 comments on commit 504ff56

Please sign in to comment.