Skip to content

Commit

Permalink
Minor Galera MTR test fixes (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciascid authored and Jan Lindström committed Jun 7, 2019
1 parent 6999da9 commit 4e0c613
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions mysql-test/suite/galera/r/galera_sync_wait_show.result
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ tr1 STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE
DROP TABLE t1;
connection node_1;
CREATE EVENT event1 ON SCHEDULE AT '2038-01-01 23:59:59' DO SELECT 1;
Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
connection node_2;
SHOW CREATE EVENT event1;
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CREATE TABLE t1 (f1 INTEGER AUTO_INCREMENT PRIMARY KEY, f2 INTEGER) Engine=InnoD
set session wsrep_sync_wait=15;
--let $wsrep_slave_threads_orig = `SELECT @@wsrep_slave_threads`
SET GLOBAL wsrep_slave_threads = 4;
--let $wait_condition = SELECT COUNT(*) = @@wsrep_slave_threads + 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND (STATE IS NULL OR STATE NOT LIKE 'InnoDB%');
--let $wait_condition = SELECT COUNT(*) = @@wsrep_slave_threads + 2 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND (STATE IS NULL OR STATE NOT LIKE 'InnoDB%');
--source include/wait_condition.inc

--connection node_1
Expand Down
3 changes: 1 addition & 2 deletions mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ connection node_2;
Shutting down server ...
connection node_1;
connection node_2;
Starting server ...
# restart: --wsrep_sst_auth=sst:sst --wsrep_sst_method=mysqldump --wsrep-sst-receive-address=127.0.0.1:16001
# restart: with restart_parameters
connection node_1;
connection node_2;
SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/galera_sr/t/galera_sr_mysqldump_sst.test
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ UPDATE t1 SET f2 = REPEAT('y', 255);
--source include/wait_condition.inc

--connection node_2
--echo Starting server ...
--let $restart_noprint = 1
--let $restart_parameters = --wsrep_sst_auth=sst:sst --wsrep_sst_method=mysqldump --wsrep-sst-receive-address=127.0.0.1:$NODE_MYPORT_2
--source include/start_mysqld.inc

Expand Down

0 comments on commit 4e0c613

Please sign in to comment.