Commit Graph

1278 Commits

Author SHA1 Message Date
9f07613330 Merge branch '2.3' into 2.4 2020-07-02 10:38:54 +03:00
637bc6ff6d Silence test errors about missing cores
`cp` and `ls` complain if the files do not exist, using `test` is more
appropriate to test whether the files exist.
2020-07-02 06:26:35 +03:00
1756857f5d Fix galera initialization with 10.4
For whatever reason, galera complains on startup about
wsrep_cluster_address missing even when mysql_install_db is run. By making
sure that we configure it before we initialize the database, the problems
seem to go away.
2020-07-01 15:15:15 +03:00
564f16e0e2 MXS-2900 Move common mariadbmonitor test source files 2020-06-23 15:22:41 +03:00
680ba80870 MXS-2900 maxtest includes cleanup, part 3 2020-06-23 13:23:02 +03:00
238725b72e MXS-2900 maxtest includes cleanup, part 2 2020-06-23 13:23:01 +03:00
9951d27762 MXS-2900 maxtest includes cleanup 2020-06-23 13:23:01 +03:00
c8700a94ab MXS-2900 Cleanup maxtest compilation
The cdc-connector source does not need to be included, linking is enough.
2020-06-12 20:08:40 +03:00
63d1f66797 MXS-2900 Include from predefined search directories in maxtest
Similar style is used in other MaxScale libraries.
2020-06-12 19:26:47 +03:00
3c0021828c MXS-2900 Remove StopWatch from maxtest
Was similar to the one in maxbase. Also changes a variable name
inside a macro to less likely shadow one in surrounding scope.
2020-06-12 19:26:02 +03:00
7781f7042a 2.4.10 Update change date 2020-06-05 10:21:37 +03:00
5ebae9be90 Merge branch '2.3' into 2.4 2020-06-05 09:36:24 +03:00
aa11c960b1 2.3.20 Update change date 2020-06-05 09:31:45 +03:00
a8c8531bbc MXS-3021: Add test case for strict
Checks that multi-statements are allowed and that rules that match still
cause queries to be blocked.
2020-06-04 08:28:32 +03:00
ac1e2d4202 Merge branch '2.3' into 2.4 2020-06-03 10:40:24 +03:00
5380bd65f1 Detect dropped system tables
If a test breaks the system by dropping a system database, the replication
check wouldn't detect it.
2020-06-03 10:39:36 +03:00
e565a6d9b8 Merge branch '2.3' into 2.4 2020-05-28 09:01:49 +03:00
0907e0f0e5 Add BACKEND_SSL VM type
This is needed by tests that use add_test_executable_ex and require
backend SSL. Also fixed a problem in disable_ssl where an empty query was
executed instead of the query itself.
2020-05-27 14:06:51 +03:00
6bfefdf124 Merge branch '2.3' into 2.4 2020-05-13 13:53:33 +03:00
481f6f1aea Add missing operator=(Connection&&)
The move assignment should also be defined if the move construction is
defined.
2020-05-13 13:43:58 +03:00
910cee3538 MXS-2900 Move more monitor tests to dedicated directory
These tests were added in 2.4.
2020-05-04 21:56:13 +03:00
20cce59e1b MXS-2976 Reinforce mysqlmon_multimaster test
Compares server states as sets. Stops MaxScale during some cluster
modifications to ensure consistency.
2020-04-30 15:54:57 +03:00
321126660f 2.4.9 Update Change Date 2020-04-29 10:17:14 +03:00
9a0bcec51c Merge branch '2.3' into 2.4 2020-04-27 10:27:51 +03:00
a38b475e90 Fix add_template
The path to the coniguration file must be an absolute path
(CMAKE_SOURCE_DIR) instead of a relative one
(CMAKE_CURRENT_SOURCE_DIR). This fixes cdc_datatypes.
2020-04-27 10:22:51 +03:00
d3d7054639 Merge branch '2.3' into 2.4 2020-04-24 16:09:20 +03:00
87328228f8 Fix mxs922_monitor
The monitor needs to be unlinked from servers before it is destroyed.
2020-04-24 14:52:23 +03:00
c2b868e8aa Merge branch '2.3' into 2.4 2020-04-23 14:51:11 +03:00
4480debefd MXS-2970: Add test case
Test case reproduces the problem and verifies that it is fixed.
2020-04-23 14:34:38 +03:00
f527a8f2e6 2.3.19 Update Change Date 2020-04-23 14:23:57 +03:00
9d70f479c7 Rewrite mxs548_short_session_change_user
Use C++11 constructs along with the utilities provided by the newer
testing code.
2020-04-22 21:54:14 +03:00
b586aeb6b8 Merge branch '2.4-clx' into 2.4 2020-04-21 01:18:32 +03:00
93c3e9ce23 MXS-2919: Add test case
The test checks that no slaves are used when the replication lag is not
measurable.
2020-04-18 07:19:43 +03:00
9115887725 Merge branch '2.3' into 2.4 2020-04-16 17:34:08 +03:00
2d1b2b87c9 Add Clustrix machines to the default test template 2020-04-14 10:54:57 +03:00
c3ddcb9056 MXS-2900 Add ability to add derived tests to add_test_executable_ex() 2020-04-13 17:21:40 +03:00
f549d95793 MXS-2900 maxtest header cleanup 2020-04-11 22:10:35 +03:00
1f15cd3d2e Merge branch '2.3' into 2.4 2020-04-11 00:19:16 +03:00
03726a5f25 MXS-2900 Rename maxtest files
Many of the headers were not renamed to avoid changing every test.
2020-04-10 20:50:28 +03:00
1ff112ca38 Merge branch '2.3' into 2.4 2020-04-07 17:18:46 +03:00
594e431f1a MXS-2900 Move MariaDB-Monitor tests 2020-04-07 15:49:34 +03:00
def264f117 Merge branch '2.3' into 2.4 2020-04-07 11:49:51 +03:00
983b8247dd MXS-2900 Cleanup environment variable management 2020-04-07 11:29:50 +03:00
10600f8bb2 Merge branch '2.3' into 2.4 2020-04-06 11:55:20 +03:00
3bbeaa17ba Merge branch '2.3' into 2.4 2020-04-03 13:39:21 +03:00
c3790c753c Merge branch '2.3' into 2.4 2020-04-03 12:39:45 +03:00
e346c7b13b Merge branch '2.3' into 2.4 2020-04-02 16:46:48 +03:00
071501ea1f MXS-2900 Run uncrustify on testconnections.cpp
Also some other minor cleanup.
2020-04-02 11:52:02 +03:00
5ed99b2f5b MXS-2900 Move more TestConnection fields to private 2020-04-02 11:51:36 +03:00
2420ccf9a8 MXS-2900 Use named arguments in add_test_executable_ex()
Backend setup and labels are given in separate arguments. Only the backend
setup is saved to the test information array. Additional link libraries may
also be defined if a group of tests want to share code.
2020-04-01 22:06:04 +03:00