MXS-359: Test read-only mode and master replacement

Added test cases that verify that the functionality works as
expected. Also made Mariadb_nodes::change_master less verbose when one of
the nodes is down.
This commit is contained in:
Markus Mäkelä
2018-03-12 09:39:16 +02:00
parent 57b18cc0ce
commit 62d4fa822d
4 changed files with 211 additions and 3 deletions

View File

@ -414,6 +414,9 @@ add_test_executable(mxs314.cpp mxs314 galera LABELS MySQLProtocol LIGHT GALERA_B
# Testing of the master replacement feature
add_test_executable(mxs359_master_switch.cpp mxs359_master_switch mxs359_master_switch LABELS REPL_BACKEND)
# Test read-only connections with master replacement
add_test_executable(mxs359_read_only.cpp mxs359_read_only mxs359_read_only LABELS REPL_BACKEND)
# Binary protocol prepared statement tests
add_test_executable(binary_ps.cpp binary_ps replication LABELS readwritesplit LIGHT REPL_BACKEND)
add_test_executable(binary_ps_cursor.cpp binary_ps_cursor replication LABELS readwritesplit LIGHT REPL_BACKEND)