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.
This commit is contained in:
Rainer Gerhards 2009-06-10 18:24:46 +02:00
parent 1dbdee7c77
commit 6141845f75
2 changed files with 3 additions and 6 deletions

View File

@ -88,7 +88,6 @@ iterateRulesetAllActions(ruleset_t *pThis, rsRetVal (*pFunc)(void*, void*), void
{
iterateAllActions_t params;
DEFiRet;
ISOBJ_TYPE_assert(pThis, ruleset);
assert(pFunc != NULL);
params.pFunc = pFunc;

View File

@ -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