summaryrefslogtreecommitdiff
path: root/tests/testsuites/execonlywhenprevsuspended_multiwrkr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/execonlywhenprevsuspended_multiwrkr.conf')
-rw-r--r--tests/testsuites/execonlywhenprevsuspended_multiwrkr.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testsuites/execonlywhenprevsuspended_multiwrkr.conf b/tests/testsuites/execonlywhenprevsuspended_multiwrkr.conf
new file mode 100644
index 0000000..7af2536
--- /dev/null
+++ b/tests/testsuites/execonlywhenprevsuspended_multiwrkr.conf
@@ -0,0 +1,12 @@
+main_queue(queue.dequeueBatchSize="10" queue.workerthreads="3" queue.workerthreadminimummessages="100")
+$IncludeConfig diag-common.conf
+
+# omtesting provides the ability to cause "SUSPENDED" action state
+$ModLoad ../plugins/omtesting/.libs/omtesting
+
+$MainMsgQueueTimeoutShutdown 100000
+$template outfmt,"%msg:F,58:2%\n"
+
+:msg, contains, "msgnum:" :omtesting:fail 2 0
+$ActionExecOnlyWhenPreviousIsSuspended on
+& ./rsyslog.out.log;outfmt