summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/check_slave_is_running.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/check_slave_is_running.inc')
-rw-r--r--mysql-test/include/check_slave_is_running.inc30
1 files changed, 30 insertions, 0 deletions
diff --git a/mysql-test/include/check_slave_is_running.inc b/mysql-test/include/check_slave_is_running.inc
new file mode 100644
index 00000000..88664da7
--- /dev/null
+++ b/mysql-test/include/check_slave_is_running.inc
@@ -0,0 +1,30 @@
+# ==== Purpose ====
+#
+# Assert that the slave threads are running and don't have any errors.
+#
+#
+# ==== Usage ====
+#
+# [--let $rpl_debug= 1]
+# --source include/check_slave_is_running.inc
+#
+# Parameters:
+# $rpl_debug
+# See include/rpl_init.inc
+
+
+--let $include_filename= check_slave_is_running.inc
+--source include/begin_include_file.inc
+
+
+--let $slave_param= Slave_IO_Running
+--let $slave_param_value= Yes
+--source include/check_slave_param.inc
+
+--let $slave_param= Slave_SQL_Running
+--let $slave_param_value= Yes
+--source include/check_slave_param.inc
+
+
+--let $include_filename= check_slave_is_running.inc
+--source include/end_include_file.inc