summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tcps_sess.c2
-rwxr-xr-xtests/diskqueue-fsync.sh1
-rwxr-xr-xtests/diskqueue.sh1
3 files changed, 2 insertions, 2 deletions
diff --git a/tcps_sess.c b/tcps_sess.c
index f01114d6..1446df10 100644
--- a/tcps_sess.c
+++ b/tcps_sess.c
@@ -245,9 +245,7 @@ defaultDoSubmitMessage(tcps_sess_t *pThis)
FINALIZE;
}
-RUNLOG_VAR("%ld", ttGenTime);
if((iTimeRequery == 0) || (iNbrTimeUsed++ % iTimeRequery) == 0) {
-RUNLOG_STR("XXX: quering time!");
datetime.getCurrTime(&stTime, &ttGenTime);
}
/* we now create our own message object and submit it to the queue */
diff --git a/tests/diskqueue-fsync.sh b/tests/diskqueue-fsync.sh
index 45fb864c..0282202d 100755
--- a/tests/diskqueue-fsync.sh
+++ b/tests/diskqueue-fsync.sh
@@ -11,5 +11,6 @@ source $srcdir/diag.sh startup diskqueue-fsync.conf
# 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 wait-shutdown
source $srcdir/diag.sh seq-check 0 999
source $srcdir/diag.sh exit
diff --git a/tests/diskqueue.sh b/tests/diskqueue.sh
index 2fe31db9..668a1224 100755
--- a/tests/diskqueue.sh
+++ b/tests/diskqueue.sh
@@ -11,5 +11,6 @@ source $srcdir/diag.sh startup diskqueue.conf
# 20000 messages should be enough - the disk test is slow enough ;)
source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 20000
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
+source $srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh seq-check 0 19999
source $srcdir/diag.sh exit