summaryrefslogtreecommitdiffstats
path: root/tests/diskqueue.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diskqueue.sh')
-rwxr-xr-xtests/diskqueue.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/diskqueue.sh b/tests/diskqueue.sh
index 6384eb64..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
@@ -17,7 +18,7 @@ if [ "$?" -ne "0" ]; then
echo "error during tcpflood! see rsyslog.out.log.save for what was written"
cp rsyslog.out.log rsyslog.out.log.save
fi
-sleep 4 # we need this so that rsyslogd can receive all outstanding messages
+sleep 6 # we need this so that rsyslogd can receive all outstanding messages
kill `cat rsyslog.pid`
rm -f work
sort < rsyslog.out.log > work