diff options
Diffstat (limited to 'mysql-test/suite/perfschema/t/hostcache_ipv4_max_con.test')
-rw-r--r-- | mysql-test/suite/perfschema/t/hostcache_ipv4_max_con.test | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/mysql-test/suite/perfschema/t/hostcache_ipv4_max_con.test b/mysql-test/suite/perfschema/t/hostcache_ipv4_max_con.test index 3bf5ef3b68d..4eb630f6350 100644 --- a/mysql-test/suite/perfschema/t/hostcache_ipv4_max_con.test +++ b/mysql-test/suite/perfschema/t/hostcache_ipv4_max_con.test @@ -176,9 +176,17 @@ disconnect con4c; --source ../include/wait_for_pfs_thread_count.inc set global max_user_connections = 0; -set global max_connections = 3; +set global max_connections = 10; flush user_resources; +connect (tmp_con1,"127.0.0.1",quota,,test,$MASTER_MYPORT,); +connect (tmp_con2,"127.0.0.1",quota,,test,$MASTER_MYPORT,); +connect (tmp_con3,"127.0.0.1",quota,,test,$MASTER_MYPORT,); +connect (tmp_con4,"127.0.0.1",quota,,test,$MASTER_MYPORT,); +connect (tmp_con5,"127.0.0.1",quota,,test,$MASTER_MYPORT,); +connect (tmp_con6,"127.0.0.1",quota,,test,$MASTER_MYPORT,); +connect (tmp_con7,"127.0.0.1",quota,,test,$MASTER_MYPORT,); + connect (con5a,"127.0.0.1",quota,,test,$MASTER_MYPORT,); select "Con4a is alive"; select current_user(); @@ -233,6 +241,13 @@ connect (con5d,"127.0.0.1",quota,,test,$MASTER_MYPORT,); disconnect con5a; disconnect con5b; +--disconnect tmp_con1 +--disconnect tmp_con2 +--disconnect tmp_con3 +--disconnect tmp_con4 +--disconnect tmp_con5 +--disconnect tmp_con6 +--disconnect tmp_con7 # Wait for all disconnects --source ../include/wait_for_pfs_thread_count.inc |