summaryrefslogtreecommitdiffstats
path: root/tests/da-mainmsg-q.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-28 11:57:30 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-28 11:57:30 +0200
commitfc3e56941ca6dbf401bee2f9dc0f9e4c5cd87f40 (patch)
tree6e506d1a66615ffeb95b9960c54352ba2e6175a2 /tests/da-mainmsg-q.sh
parent7405a3057003bab0361a111b0f9d013b881b6db0 (diff)
downloadrsyslog-fc3e56941ca6dbf401bee2f9dc0f9e4c5cd87f40.tar.gz
rsyslog-fc3e56941ca6dbf401bee2f9dc0f9e4c5cd87f40.tar.xz
rsyslog-fc3e56941ca6dbf401bee2f9dc0f9e4c5cd87f40.zip
fixing an issue during DA mode queue shutdown
also changed DA queue mode in that the regular workers now run concurrently.
Diffstat (limited to 'tests/da-mainmsg-q.sh')
-rwxr-xr-xtests/da-mainmsg-q.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/da-mainmsg-q.sh b/tests/da-mainmsg-q.sh
index 1c947de2..25e7fd95 100755
--- a/tests/da-mainmsg-q.sh
+++ b/tests/da-mainmsg-q.sh
@@ -17,16 +17,18 @@ source $srcdir/diag.sh injectmsg 0 50
source $srcdir/diag.sh wait-queueempty # let queue drain for this test case
# part 2: send bunch of messages. This should trigger DA mode
-source $srcdir/diag.sh injectmsg 50 20000
+#source $srcdir/diag.sh injectmsg 50 20000
+source $srcdir/diag.sh injectmsg 50 2000
ls -l test-spool # for manual review
# send another handful
-source $srcdir/diag.sh injectmsg 20050 50
+source $srcdir/diag.sh injectmsg 2050 50
#sleep 1 # we need this so that rsyslogd can receive all outstanding messages
# clean up and check test result
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
### currently, we get a stable abort if we use the former kill logic. With shutdown-when-empty, it hangs (but that still tells us there is a bug ;)) ###
#kill `cat rsyslog.pid`
-source $srcdir/diag.sh seq-check 0 20099
+echo seqchk?
+source $srcdir/diag.sh seq-check 2099
source $srcdir/diag.sh exit