rsyslog/tests/es-maxbytes-bulk.sh
2016-10-12 23:08:59 +00:00

14 lines
550 B
Bash
Executable File

#!/bin/bash
# This file is part of the rsyslog project, released under ASL 2.0
echo ===============================================================================
echo \[es-maxbytes-bulk\]: test for elasticsearch functionality with maxbytes bulking
. $srcdir/diag.sh init
. $srcdir/diag.sh es-init
. $srcdir/diag.sh startup es-maxbytes-bulk.conf
. $srcdir/diag.sh injectmsg 0 10000
. $srcdir/diag.sh shutdown-when-empty
. $srcdir/diag.sh wait-shutdown
. $srcdir/diag.sh es-getdata 10000
. $srcdir/diag.sh seq-check 0 9999
. $srcdir/diag.sh exit