diff options
Diffstat (limited to 'tests/mysql-actq-mt.sh')
-rwxr-xr-x | tests/mysql-actq-mt.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/mysql-actq-mt.sh b/tests/mysql-actq-mt.sh new file mode 100755 index 0000000..ae96cde --- /dev/null +++ b/tests/mysql-actq-mt.sh @@ -0,0 +1,13 @@ +# This file is part of the rsyslog project, released under ASL 2.0 +echo =============================================================================== +echo \[mysql-act-mt.sh\]: test for mysql with multithread actionq +source $srcdir/diag.sh init +mysql --user=rsyslog --password=testbench < testsuites/mysql-truncate.sql +source $srcdir/diag.sh startup mysql-actq-mt.conf +source $srcdir/diag.sh injectmsg 0 150000 +source $srcdir/diag.sh shutdown-when-empty +source $srcdir/diag.sh wait-shutdown +# note "-s" is requried to suppress the select "field header" +mysql -s --user=rsyslog --password=testbench < testsuites/mysql-select-msg.sql > rsyslog.out.log +source $srcdir/diag.sh seq-check 0 149999 +source $srcdir/diag.sh exit |