Merge branch '2.3' into 2.4
This commit is contained in:
@ -18,7 +18,8 @@ function run_test
|
|||||||
echo $test_name
|
echo $test_name
|
||||||
logdir=log_$test_name
|
logdir=log_$test_name
|
||||||
mkdir -p $logdir
|
mkdir -p $logdir
|
||||||
mysqltest --host=${maxscale_000_network} --port=$port \
|
mysqltest --no-defaults \
|
||||||
|
--host=${maxscale_000_network} --port=$port \
|
||||||
--user=$user --password=$password \
|
--user=$user --password=$password \
|
||||||
--logdir=$logdir \
|
--logdir=$logdir \
|
||||||
--test-file=$dir/t/$test_name.test \
|
--test-file=$dir/t/$test_name.test \
|
||||||
|
@ -4,6 +4,8 @@ threads=###threads###
|
|||||||
#event.authentication_failure.facility=LOG_AUTH
|
#event.authentication_failure.facility=LOG_AUTH
|
||||||
#event.authentication_failure.level=LOG_ERR
|
#event.authentication_failure.level=LOG_ERR
|
||||||
|
|
||||||
|
syslog=true
|
||||||
|
|
||||||
[MySQL-Monitor]
|
[MySQL-Monitor]
|
||||||
type=monitor
|
type=monitor
|
||||||
module=mysqlmon
|
module=mysqlmon
|
||||||
@ -21,7 +23,7 @@ password=skysql
|
|||||||
|
|
||||||
[RW-Split-Listener]
|
[RW-Split-Listener]
|
||||||
type=listener
|
type=listener
|
||||||
service=RW Split Router
|
service=RW-Split-Router
|
||||||
protocol=MySQLClient
|
protocol=MySQLClient
|
||||||
port=4006
|
port=4006
|
||||||
|
|
||||||
|
@ -34,7 +34,8 @@ dir="$src_dir/masking/$1"
|
|||||||
|
|
||||||
user=skysql
|
user=skysql
|
||||||
test_name=masking_user
|
test_name=masking_user
|
||||||
mysqltest --host=${maxscale_000_network} --port=$port \
|
mysqltest --no-defaults \
|
||||||
|
--host=${maxscale_000_network} --port=$port \
|
||||||
--user=$user --password=$maxscale_password \
|
--user=$user --password=$maxscale_password \
|
||||||
--logdir=$logdir \
|
--logdir=$logdir \
|
||||||
--test-file=$dir/t/$test_name.test \
|
--test-file=$dir/t/$test_name.test \
|
||||||
@ -50,7 +51,8 @@ fi
|
|||||||
|
|
||||||
user=maxskysql
|
user=maxskysql
|
||||||
test_name=masking_user
|
test_name=masking_user
|
||||||
mysqltest --host=${maxscale_000_network} --port=$port \
|
mysqltest --no-defaults \
|
||||||
|
--host=${maxscale_000_network} --port=$port \
|
||||||
--user=$user --password=$maxscale_password \
|
--user=$user --password=$maxscale_password \
|
||||||
--logdir=$logdir \
|
--logdir=$logdir \
|
||||||
--test-file=$dir/t/$test_name.test \
|
--test-file=$dir/t/$test_name.test \
|
||||||
|
@ -47,7 +47,8 @@ for t in `ls $2/t/*.test|xargs -L 1 basename`
|
|||||||
do
|
do
|
||||||
printf "$t:"
|
printf "$t:"
|
||||||
test_name=${t%%.test}
|
test_name=${t%%.test}
|
||||||
mysqltest --host=${maxscale_000_network} --port=$port \
|
mysqltest --no-defaults \
|
||||||
|
--host=${maxscale_000_network} --port=$port \
|
||||||
--user=$user --password=$password \
|
--user=$user --password=$password \
|
||||||
--logdir=log_$1 \
|
--logdir=log_$1 \
|
||||||
--test-file=$2/t/$test_name.test \
|
--test-file=$2/t/$test_name.test \
|
||||||
|
Reference in New Issue
Block a user