| 1 |
# |
| 2 |
# Joiner-supplied wsrep_node_name must not inject shell commands into |
| 3 |
# the donor's wsrep_notify_cmd. Fails if "Notification command failed" |
| 4 |
# co-occurs with ";touch" in node_1's error log. |
| 5 |
# |
| 6 |
|
| 7 |
--source include/galera_cluster.inc |
| 8 |
--source include/have_innodb.inc |
| 9 |
|
| 10 |
SELECT 1; |
| 11 |
|
| 12 |
--connection node_1 |
| 13 |
call mtr.add_suppression('Process completed with error'); |
| 14 |
call mtr.add_suppression('Notification command failed'); |
| 15 |
call mtr.add_suppression('Unsafe characters in cluster member'); |
| 16 |
--let $datadir=`select @@datadir` |
| 17 |
|
| 18 |
--let $wait_condition = SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'WSREP_LOCAL_STATE_COMMENT' |
| 19 |
--source include/wait_condition.inc |
| 20 |
|
| 21 |
--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size' |
| 22 |
--source include/wait_condition.inc |
| 23 |
|
| 24 |
--sleep 2 |
| 25 |
|
| 26 |
--let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err |
| 27 |
--let SEARCH_PATTERN = Unsafe characters in cluster member |
| 28 |
--source include/search_pattern_in_file.inc |
| 29 |
|
| 30 |
--list_files $datadir PWN |