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
711d6a4083
Merge branch '2.3' into 2.4
2020-04-01 21:31:30 +03:00
a3e358f29b
MXS-2900 Cleanup test labels handling
...
The labels are stored in sets for easy searching.
2020-04-01 21:28:03 +03:00
6754586f76
MXS-2900 Add possibility of having system test in any directory
...
The cmake-function add_test_executable_ex() adds a test using a source file in the
current directory. The config file is given as a relative path.
2020-04-01 21:27:07 +03:00
194ade9439
Merge branch '2.3' into 2.4
2020-03-31 14:09:32 +03:00
c6a9c8bb0f
MXS-2900 Cleanup system test information generation
...
The system test information array now has the full path to the MaxScale
configuration file. The array now only contains labels given in
CMakeLists.txt. The resulting .cc-file has linebreaks for readability.
2020-03-31 13:38:45 +03:00