mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 08:30:42 +01:00
- added a test to check handling of damaged .qi files on startup - made sure each test identifies itself on startup
16 lines
831 B
Bash
Executable File
16 lines
831 B
Bash
Executable File
# test many concurrent tcp connections
|
|
# we send 100,000 messages in the hopes that his puts at least a little bit
|
|
# of pressure on the threading subsystem. To really prove it, we would need to
|
|
# push messages for several minutes, but that takes too long during the
|
|
# automatted tests (hint: do this manually after suspect changes). Thankfully,
|
|
# in practice many threading bugs result in an abort rather quickly and these
|
|
# should be covered by this test here.
|
|
# rgerhards, 2009-06-26
|
|
echo \[threadingmq.sh\]: main queue concurrency
|
|
source $srcdir/diag.sh init
|
|
source $srcdir/diag.sh startup threadingmq.conf
|
|
source $srcdir/diag.sh tcpflood 127.0.0.1 13514 2 100000
|
|
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
|
source $srcdir/diag.sh seq-check 0 99999
|
|
source $srcdir/diag.sh exit
|