| 1 |
SET SESSION sql_log_bin= 0; |
| 2 |
CALL mtr.add_suppression("The group_replication_group_name option is mandatory"); |
| 3 |
CALL mtr.add_suppression("Unable to start Group Replication on boot"); |
| 4 |
SET SESSION sql_log_bin= 1; |
| 5 |
|
| 6 |
########################################################### |
| 7 |
# 1. Assert the failed startup messages on server error log |
| 8 |
include/assert_grep.inc [The GR plug-in reported an error on group name option being mandatory] |
| 9 |
include/assert_grep.inc [The GR plug-in reported an error stating it was unable to start Group Replication on boot] |
| 10 |
|
| 11 |
#################################################################### |
| 12 |
# 2. Assert global group_replication_start_on_boot variable behavior |
| 13 |
include/assert.inc [group_replication_start_on_boot is true by default on startup] |
| 14 |
SET @@GLOBAL.group_replication_start_on_boot = FALSE; |
| 15 |
include/assert.inc [group_replication_start_on_boot can be turned off] |
| 16 |
SET GLOBAL group_replication_start_on_boot= NULL; |
| 17 |
ERROR 42000: Variable 'group_replication_start_on_boot' can't be set to the value of 'NULL' |
| 18 |
SET GLOBAL group_replication_start_on_boot= "a"; |
| 19 |
ERROR 42000: Variable 'group_replication_start_on_boot' can't be set to the value of 'a' |
| 20 |
SET GLOBAL group_replication_start_on_boot= 1.2; |
| 21 |
ERROR 42000: Incorrect argument type to variable 'group_replication_start_on_boot' |
| 22 |
SET @@GLOBAL.group_replication_start_on_boot = DEFAULT; |
| 23 |
include/assert.inc [group_replication_start_on_boot is true when default value is set] |
| 24 |
|
| 25 |
############ |
| 26 |
# 3. Cleanup |