testbench: add a send-delay to UDP test

It turned out that on some systems we had UPD message loss. This
was not due to an rsyslog problem, but rather due to UDP policies
which permit dropping packages if buffers are overrun. It actually
happened and doing a slight delay solves the situation.
This commit is contained in:
Rainer Gerhards 2014-12-11 12:55:18 +01:00
parent 793ec4b923
commit 99baf06bc8

View File

@ -4,4 +4,6 @@ module(load="../plugins/imtcp/.libs/imtcp")
# this listener is for message generation by the test framework!
input(type="imtcp" port="13514")
action(type="omfwd" target="127.0.0.1" port="2514" protocol="udp")
action(type="omfwd"
target="127.0.0.1" port="2514"
protocol="udp" udp.sendDelay="1")