config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/x/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/x/t/system_variable_min_worker_threads.test

## Ping

--source ../include/xplugin_preamble.inc

SET GLOBAL Mysqlx_min_worker_threads=50;
SET GLOBAL Mysqlx_max_connections = 200;
SET GLOBAL Mysqlx_idle_worker_thread_timeout=2;

--write_file $MYSQL_TMP_DIR/worker_threads.tmp

-->repeat 100	%I%
-->newsession con %I%	root
-->endrepeat
-->abort
EOF

--error 2
--exec $MYSQLXTEST -uroot --password='' --file=$MYSQL_TMP_DIR/worker_threads.tmp 2>&1

let $wait_condition=
      SELECT VARIABLE_VALUE <51 FROM  performance_schema.global_status gs where VARIABLE_NAME = 'mysqlx_worker_threads';
--source include/wait_condition.inc

SHOW STATUS like 'mysqlx_worker_threads';


--remove_file $MYSQL_TMP_DIR/worker_threads.tmp

## Postamble
uninstall plugin mysqlx;

Man Man