| 1 |
CALL mtr.add_suppression("Error initializing session for connection: Too many connections"); |
| 2 |
|
| 3 |
|
| 4 |
## I. Verify that X Plugin can start when `max_connections` limit |
| 5 |
## was reached |
| 6 |
# |
| 7 |
# 1. Restart server with `max_connections` set to 1 and block |
| 8 |
# initialization of X Plugin |
| 9 |
# |
| 10 |
# a. Make X Protocol connection, which should fails, |
| 11 |
# that is going to show that X Plugin is not running |
| 12 |
# b. Make two classic protocol connection with root to |
| 13 |
# reach the limit (first connection is `default` |
| 14 |
# which is done be mysqltest at restart) |
| 15 |
# was compressed is replied with error without executing it |
| 16 |
# c. Unblock X Plugin and show that the initialization was |
| 17 |
# successful |
| 18 |
|
| 19 |
# |
| 20 |
# I.1 |
| 21 |
# restart: --debug=+d,xplugin_init_wait --loose-mysqlx_cache_cleaner=0 |
| 22 |
|
| 23 |
# |
| 24 |
# I.1.a |
| 25 |
|
| 26 |
# |
| 27 |
# I.1.b |
| 28 |
|
| 29 |
# |
| 30 |
# I.1.c |
| 31 |
# Removing debug point 'xplugin_init_wait' from @@GLOBAL.debug |
| 32 |
RUN SELECT "Some expected string" as result |
| 33 |
result |
| 34 |
Some expected string |
| 35 |
0 rows affected |
| 36 |
Mysqlx.Ok { |
| 37 |
msg: "bye!" |
| 38 |
} |
| 39 |
ok |
| 40 |
# restart: |