MXS-2131: Add sanity check test

The sanity check replaces several old regression tests and provides a
quick test for checking mainly the readwritesplit routing behavior. It
also checks some of the connection counts and runs queries that once
caused a crash.

The set of tests that the sanity check obsoletes is:

    bug422
    bug469
    bug448
    bug507
    bug509
    bug634
    bug694
    bug669
    bug711
    mxs127
    mxs47
    mxs682_cyrillic
    mxs957
    mxs1786_statistics
    rwsplit_read_only_trx
This commit is contained in:
Markus Mäkelä
2018-10-31 12:03:25 +02:00
parent 6497c1f5b3
commit ee069ac45c
3 changed files with 136 additions and 2 deletions

View File

@ -61,6 +61,9 @@ add_test_executable(config_test.cpp config_test replication LABELS CONFIG)
add_subdirectory(cdc_datatypes)
# Routing sanity check
add_test_executable(sanity_check.cpp sanity_check replication LABELS LIGHT REPL_BACKEND)
# Repeatedly connect to maxscale while the backends reject all connections, expect no crash
add_test_executable(backend_auth_fail.cpp backend_auth_fail replication LABELS readconnroute REPL_BACKEND)