summaryrefslogtreecommitdiff
path: root/mysql-test/suite/wsrep/t/mdev_7798.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/wsrep/t/mdev_7798.test')
-rw-r--r--mysql-test/suite/wsrep/t/mdev_7798.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/suite/wsrep/t/mdev_7798.test b/mysql-test/suite/wsrep/t/mdev_7798.test
new file mode 100644
index 00000000000..9dfff0959bc
--- /dev/null
+++ b/mysql-test/suite/wsrep/t/mdev_7798.test
@@ -0,0 +1,17 @@
+--source include/have_wsrep_provider.inc
+--source include/have_binlog_format_row.inc
+
+--echo #
+--echo # MDEV-7798: mysql.server init script can't stop mysqld when WSREP is
+--echo # turned off
+--echo #
+
+SELECT @@GLOBAL.WSREP_ON;
+SET GLOBAL WSREP_ON= 0;
+
+--echo Restart the node.
+--source include/restart_mysqld.inc
+
+SELECT @@GLOBAL.WSREP_ON;
+
+--echo # End of test.