diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-19 11:03:09 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-19 11:03:09 +0200 |
commit | a4dad2009992d436ba23c2d0a4a43b483aac40fc (patch) | |
tree | 4971015a6e9d5cb45ae0742d6bd6c788bdc2985f /tests | |
parent | cb0fa751b7e18ffe71aec84bccfeaf04fca7ff13 (diff) | |
download | rsyslog-a4dad2009992d436ba23c2d0a4a43b483aac40fc.tar.gz rsyslog-a4dad2009992d436ba23c2d0a4a43b483aac40fc.tar.xz rsyslog-a4dad2009992d436ba23c2d0a4a43b483aac40fc.zip |
queue size calculation now based on logical/physical dequeue
... needed to split the old single counter into two. I wouldn't bet that
I made some mistakes while doing so, but at least some ad-hoc tests plus
the testbench do no longer indicate errors.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/da-mainmsg-q.sh | 4 | ||||
-rwxr-xr-x | tests/diskqueue.sh | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/da-mainmsg-q.sh b/tests/da-mainmsg-q.sh index 2ea6278e..91addf68 100755 --- a/tests/da-mainmsg-q.sh +++ b/tests/da-mainmsg-q.sh @@ -24,7 +24,7 @@ if [ "$?" -ne "0" ]; then cp rsyslog.out.log rsyslog.out.log.save fi ls -l test-spool -sleep 1 # we need this so that rsyslogd can receive all outstanding messages +sleep 2 # we need this so that rsyslogd can receive all outstanding messages # # part 2: send bunch of messages. This should trigger DA mode # @@ -35,7 +35,7 @@ if [ "$?" -ne "0" ]; then cp rsyslog.out.log rsyslog.out.log.save fi ls -l test-spool -sleep 5 # we need this so that rsyslogd can receive all outstanding messages +sleep 8 # we need this so that rsyslogd can receive all outstanding messages # # send another handful # diff --git a/tests/diskqueue.sh b/tests/diskqueue.sh index 5ff9ced0..efa6728b 100755 --- a/tests/diskqueue.sh +++ b/tests/diskqueue.sh @@ -7,6 +7,7 @@ echo testing queue disk-only mode rm -rf test-spool mkdir test-spool +# enable this, if you need debug output: export RSYSLOG_DEBUG="debug" rm -f work rsyslog.out.log rsyslog.out.log.save # work files ../tools/rsyslogd -c4 -u2 -n -irsyslog.pid -M../runtime/.libs:../.libs -f$srcdir/testsuites/diskqueue.conf & sleep 1 |