mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 02:50:40 +01:00
added forgotten testbench file
This commit is contained in:
parent
cb65e72f1e
commit
73e4b2edc8
13
tests/manyptcp.sh
Executable file
13
tests/manyptcp.sh
Executable file
@ -0,0 +1,13 @@
|
||||
# test many concurrent tcp connections
|
||||
echo ====================================================================================
|
||||
echo TEST: \[manyptcp.sh\]: test imptcp with large connection count
|
||||
source $srcdir/diag.sh init
|
||||
source $srcdir/diag.sh startup manyptcp.conf
|
||||
# the config file specifies exactly 1100 connections
|
||||
source $srcdir/diag.sh tcpflood -c1000 -m40000
|
||||
# the sleep below is needed to prevent too-early termination of the tcp listener
|
||||
sleep 1
|
||||
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
||||
source $srcdir/diag.sh wait-shutdown # we need to wait until rsyslogd is finished!
|
||||
source $srcdir/diag.sh seq-check 0 39999
|
||||
source $srcdir/diag.sh exit
|
||||
Loading…
x
Reference in New Issue
Block a user