summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/da-mainmsg-q.sh4
-rwxr-xr-xtests/diskqueue.sh1
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