summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-10 18:24:46 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-10 18:24:46 +0200
commit6141845f7514622f77d308b7aadb15891d3a627a (patch)
tree6b4c6380ff6653ca4a00bc76a235742512e8e124 /tests
parent1dbdee7c774dd20e4653efc6871ddef5adce2785 (diff)
downloadrsyslog-6141845f7514622f77d308b7aadb15891d3a627a.tar.gz
rsyslog-6141845f7514622f77d308b7aadb15891d3a627a.tar.xz
rsyslog-6141845f7514622f77d308b7aadb15891d3a627a.zip
re-enabled queue disk fsync test
... actually, it was not broken, but just very slow. I have now reduced the number of test messages so that make check will not be held for an extended period of time.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/diskqueue-fsync.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/diskqueue-fsync.sh b/tests/diskqueue-fsync.sh
index 8d2cb709..45fb864c 100755
--- a/tests/diskqueue-fsync.sh
+++ b/tests/diskqueue-fsync.sh
@@ -5,13 +5,11 @@
# added 2009-06-09 by Rgerhards
# This file is part of the rsyslog project, released under GPLv3
# uncomment for debugging support:
-echo diskqueue-fsync test seems to have some issues
-exit 1
echo testing queue disk-only mode, fsync case
source $srcdir/diag.sh init
source $srcdir/diag.sh startup diskqueue-fsync.conf
-# 5000 messages should be enough - the disk fsync test is very slow!
-source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 5000
+# 1000 messages should be enough - the disk fsync test is very slow!
+source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 1000
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
-source $srcdir/diag.sh seq-check 0 4999
+source $srcdir/diag.sh seq-check 0 999
source $srcdir/diag.sh exit