Commit Graph

1288 Commits

Author SHA1 Message Date
6f7cc921cc Merge branch '2.3' into 2.4 2020-07-10 09:36:30 +03:00
c85638052e Rerun failed tests
This should help stabilize the test set by making sure the test actually
fails twice. This'll still leave the output in the log so that the
problems that only occur on the first run can be eventually fixed.
2020-07-10 09:32:13 +03:00
0bd41c0f02 Merge branch '2.3' into 2.4 2020-07-09 13:54:31 +03:00
af227cd8c5 Enable log_info for maxinfo_sql
This should help figure out why the test would hang.
2020-07-09 13:49:43 +03:00
6229d79681 Make the fwf on_queries test more robust
By waiting for a known period of time before and during the time window,
we get a higher chance of the test passing even if the system isn't fast.
2020-07-09 13:49:43 +03:00
f61c7728ab Fix bug626 with MariaDB 10.4
The test used legacy SQL syntax for updating the password.
2020-07-09 13:49:43 +03:00
6766114820 Merge branch '2.3' into 2.4 2020-07-08 09:38:32 +03:00
93e2aaeaf5 MXS-3031 Ensure backend ssl tests clean up after themselves
Presumably Mariadb_nodes::disable_ssl() should do that, but it
does not. So for the time being we create the default user anew.
2020-07-08 09:32:07 +03:00
9955f00bf5 MXS-3031 Add function for resetting users
With this function, a test that changes the default test users
on a node can reset the situation.
2020-07-08 09:31:42 +03:00
fc9c9fcd77 2.4.11 Update change date 2020-07-07 10:01:38 +03:00
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