mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 04:30:43 +01:00
this is not yet integrated into the automatted test build, as the current code seems to have some issues which must be sorted out first. A branch with patches already exists, but they need these tests to be verified.
18 lines
686 B
Bash
Executable File
18 lines
686 B
Bash
Executable File
# This file is part of the rsyslog project, released under ASL 2.0
|
|
echo ===============================================================================
|
|
echo \[elasticsearch-bulk-errorfile-empty\]: basic test for elasticsearch functionality
|
|
source $srcdir/diag.sh init
|
|
source $srcdir/diag.sh es-init
|
|
source $srcdir/diag.sh startup elasticsearch-bulk-errorfile-empty.conf
|
|
source $srcdir/diag.sh injectmsg 0 10000
|
|
source $srcdir/diag.sh shutdown-when-empty
|
|
source $srcdir/diag.sh wait-shutdown
|
|
source $srcdir/diag.sh es-getdata 10000
|
|
if [ -f rsyslog.errorfile ]
|
|
then
|
|
echo "error: error file exists!"
|
|
exit 1
|
|
fi
|
|
source $srcdir/diag.sh seq-check 0 9999
|
|
source $srcdir/diag.sh exit
|