diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-03-18 16:46:32 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-03-18 16:46:32 +0100 |
commit | ce956c8f2d851712a90d304458016221cc74130d (patch) | |
tree | ecfb8205b243f3984a3085cb2b9c1d8ba1e5ef26 /mysql-test/r/pool_of_threads.result | |
parent | 2611d3c002df6b37250a996752398c7262d6d8a3 (diff) | |
download | mariadb-git-ce956c8f2d851712a90d304458016221cc74130d.tar.gz |
Add testing of extra port for pool-of-threads.
The additional test uses up all threads in the pool with SELECT
SLEEP(), and tests that this makes normal connections block, but
connections on the extra port still work.
Also test connection limit on extra port with and without
pool-of-threads enabled.
Add --connect-timeout option to mysqltest program.
Add facility for --extra-port option to ConfigFactory.
Fix regexp typo in ConfigFactory.pm
Diffstat (limited to 'mysql-test/r/pool_of_threads.result')
-rw-r--r-- | mysql-test/r/pool_of_threads.result | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/r/pool_of_threads.result b/mysql-test/r/pool_of_threads.result index 32e96fa27b7..42460a8040c 100644 --- a/mysql-test/r/pool_of_threads.result +++ b/mysql-test/r/pool_of_threads.result @@ -2151,3 +2151,23 @@ Privat (Private Nutzung) Mobilfunk Warnings: Warning 1052 Column 'kundentyp' in group statement is ambiguous drop table t1; +SELECT sleep(5); +SELECT sleep(5); +# -- Success: more than --thread-pool-size normal connections not possible +sleep(5) +0 +sleep(5) +0 +SELECT sleep(5); +SELECT sleep(5); +SELECT 'Connection on extra port ok'; +Connection on extra port ok +Connection on extra port ok +SELECT 'Connection on extra port 2 ok'; +Connection on extra port 2 ok +Connection on extra port 2 ok +# -- Success: more than --extra-max-connections + 1 normal connections not possible +sleep(5) +0 +sleep(5) +0 |