mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 15:00:43 +01:00
testbench: fix some races on test termination
by default, we now use 10s timeout for terminating inputs. On some slow machines (CI under heavy load) the system default is not sufficient, what can lead to memory leaks and thus valgrind failures.
This commit is contained in:
parent
5458f1ce6d
commit
b572423733
@ -85,7 +85,8 @@ function setvar_RS_HOSTNAME() {
|
||||
|
||||
# begin a new testconfig
|
||||
function generate_conf() {
|
||||
echo '$ModLoad ../plugins/imdiag/.libs/imdiag
|
||||
echo 'global(inputs.timeout.shutdown="10000")
|
||||
$ModLoad ../plugins/imdiag/.libs/imdiag
|
||||
$IMDiagServerRun 13500
|
||||
|
||||
:syslogtag, contains, "rsyslogd" ./rsyslogd.started
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
$ModLoad ../plugins/imdiag/.libs/imdiag
|
||||
$IMDiagServerRun 13500
|
||||
|
||||
global(inputs.timeout.shutdown="10000")
|
||||
|
||||
$template startupfile,"rsyslogd.started" # trick to use relative path names!
|
||||
:syslogtag, contains, "rsyslogd" ?startupfile
|
||||
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
$ModLoad ../plugins/imdiag/.libs/imdiag
|
||||
$IMDiagServerRun 13501
|
||||
|
||||
global(inputs.timeout.shutdown="10000")
|
||||
|
||||
$template startupfile,"rsyslogd2.started" # trick to use relative path names!
|
||||
:syslogtag, contains, "rsyslogd" ?startupfile
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user