summaryrefslogtreecommitdiffstats
path: root/tests/failover-async.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/failover-async.sh')
-rwxr-xr-xtests/failover-async.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/failover-async.sh b/tests/failover-async.sh
new file mode 100755
index 00000000..5fc393de
--- /dev/null
+++ b/tests/failover-async.sh
@@ -0,0 +1,12 @@
+# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
+echo \[failover-async.sh\]: async test for failover functionality
+source $srcdir/diag.sh init
+source $srcdir/diag.sh startup failover-async.conf
+source $srcdir/diag.sh injectmsg 0 5000
+echo doing shutdown
+source $srcdir/diag.sh shutdown-when-empty
+echo wait on shutdown
+source $srcdir/diag.sh wait-shutdown
+source $srcdir/diag.sh seq-check 0 4999
+source $srcdir/diag.sh exit