Commit Graph

1257 Commits

Author SHA1 Message Date
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
3441497079 Merge branch '2.3' into 2.4 2020-03-31 12:15:42 +03:00
d69e519038 MXS-2900 MXS-2900 Clean up TestConnection string handling
Now uses std::string for several fields.
2020-03-30 15:37:53 +03:00
4ff703910f Merge branch '2.3' into 2.4 2020-03-30 11:31:26 +03:00
480c57c122 MXS-2900 Move more TestConnections fields to private 2020-03-30 10:28:12 +03:00
f101ff642f Merge branch '2.3' into 2.4 2020-03-27 20:34:23 +02:00
af593262f9 Merge branch '2.3' into 2.4 2020-03-25 11:09:41 +02:00
3d7ee2e8cd MXS-2900 Clean up test config file and label handling 2020-03-24 14:14:20 +02:00
36244e9c7b MXS-2900 Move test description array to a .cc-file
The array is now compiled into the maxtest-library.
Also cleaned up the array handling a bit.
2020-03-24 11:33:59 +02:00
89a8d6ace5 Use bigger VMs for system tests 2020-03-23 16:16:07 +02:00
efe5bdfd9f Adopt run_test.sh for parallel test execution from BuildBot 2020-03-23 16:15:25 +02:00
80a8fd55be Merge branch '2.3' into 2.4 2020-03-19 15:13:19 +02:00
b98b8f9d4a MXS-2939: Fix reconnection with session commands
Session commands did not trigger a reconnection process which caused
sessions to be closed in cases where recovery was possible.

Added a test case that verifies the patch fixes the problem.
2020-03-19 15:12:31 +02:00
05f71424e8 Fix masking_user test in 2.4
The very same user was used in both test-runs. How this could
ever have worked is a mystery to me.
2020-03-17 11:52:17 +02:00
5121aa296e Add timeout to rwsplit_readonly_stress
This prevents the test from hanging.
2020-03-16 15:09:41 +02:00
e7b8aca605 Stop MaxScale after tests
This allows crashes on exit to be detected.
2020-03-16 15:08:52 +02:00
5217836e83 Update 2.4.8 Change Date
Same as that of 2.3.17. Consequently, only the 2.4 specific files
are updated.
2020-03-16 11:25:59 +02:00