MXS-2609: Add master reconnection test case

The test case covers a few bugs that were fixed by the previous
commits. The first part of the test covers the case when master
reconnection fails while session command history is being executed. The
second part of the test makes sure exceeding the session command history
will prevent master reconnections from taking place.
This commit is contained in:
Markus Mäkelä
2019-08-07 19:31:04 +03:00
parent 1748e6599d
commit eda830c9f3
3 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,27 @@
[maxscale]
threads=###threads###
###server###
[MySQL-Monitor]
type=monitor
module=mariadbmon
servers=###server_line###
user=maxskysql
password=skysql
monitor_interval=1000
[RW-Split-Router]
type=service
router=readwritesplit
servers=###server_line###
user=maxskysql
password=skysql
transaction_replay=true
master_accept_reads=true
[RW-Split-Listener]
type=listener
service=RW-Split-Router
protocol=MySQLClient
port=4006