rsyslog/tests/sndrcv_udp_nonstdpt.sh
Rainer Gerhards aa14e4c779 testebench: mitigate UDP message loss
in legacy config, we do not have a way to slow down sending
UDP messages to a rate where no message loss occurs (message
loss is fine here due to the UDP RFCs!). As such, we simply
reduce the number of messages in this test. That actually
doesn't hurt anything, as the purpose of the test is that
messages are properly received and processed.

More messages are still being sent with the equivalent test
that uses RainerScript config.
2014-12-17 08:58:00 +01:00

11 lines
682 B
Bash
Executable File

# This runs sends and receives messages via UDP to the non-standard port 2514
# Note that with UDP we can always have message loss. While this is
# less likely in a local environment, we strongly limit the amount of data
# we send in the hope to not lose any messages. However, failure of this
# test does not necessarily mean that the code is wrong (but it is very likely!)
# added 2009-11-11 by Rgerhards
# This file is part of the rsyslog project, released under GPLv3
echo ===============================================================================
echo \[sndrcv_udp_nonstdpt.sh\]: testing sending and receiving via udp
source $srcdir/sndrcv_drvr.sh sndrcv_udp_nonstdpt 50