small improvements to testbench

This commit is contained in:
Rainer Gerhards 2010-08-10 18:29:22 +02:00
parent 83948a07fd
commit b5b4bd1389
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ source $srcdir/diag.sh init
source $srcdir/diag.sh startup complex1.conf source $srcdir/diag.sh startup complex1.conf
# send 30,000 messages of 400 bytes plus header max, via three dest ports # send 30,000 messages of 400 bytes plus header max, via three dest ports
source $srcdir/diag.sh tcpflood -m40000 -rd400 -P129 -f5 -n3 -c15 -i1 source $srcdir/diag.sh tcpflood -m40000 -rd400 -P129 -f5 -n3 -c15 -i1
sleep 2 # due to large messages, we need this time for the tcp receiver to settle... sleep 4 # due to large messages, we need this time for the tcp receiver to settle...
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown # and wait for it to terminate source $srcdir/diag.sh wait-shutdown # and wait for it to terminate
ls rsyslog.out.*.log ls rsyslog.out.*.log

View File

@ -2,6 +2,8 @@
# added 2010-08-10 by Rgerhards # added 2010-08-10 by Rgerhards
# #
# This file is part of the rsyslog project, released under GPLv3 # This file is part of the rsyslog project, released under GPLv3
echo ====================================================================================
echo TEST: \[imptcp_large.sh\]: test imptcp with large-size messages
cat rsyslog.action.1.include cat rsyslog.action.1.include
source $srcdir/diag.sh init source $srcdir/diag.sh init
source $srcdir/diag.sh startup imptcp_large.conf source $srcdir/diag.sh startup imptcp_large.conf