14499 Commits

Author SHA1 Message Date
Esa Korhonen
def264f117 Merge branch '2.3' into 2.4 2020-04-07 11:49:51 +03:00
Esa Korhonen
983b8247dd MXS-2900 Cleanup environment variable management 2020-04-07 11:29:50 +03:00
Markus Mäkelä
dcccd99eb7
Merge branch '2.3' into 2.4 2020-04-07 08:52:40 +03:00
Markus Mäkelä
1ed6304281
MXS-2954: Use correct object for PATCH
The destination object instead of the source object was used. This caused
the PATCH to be a no-op.

Due to how the REST API behaves when it received parameters, the set of
synced parameters must be filtered. The REST API should be more lenient
towards alterations to parameters that don't actually change the value.
2020-04-06 19:37:53 +03:00
Esa Korhonen
10600f8bb2 Merge branch '2.3' into 2.4 2020-04-06 11:55:20 +03:00
Esa Korhonen
3bbeaa17ba Merge branch '2.3' into 2.4 2020-04-03 13:39:21 +03:00
Esa Korhonen
c3790c753c Merge branch '2.3' into 2.4 2020-04-03 12:39:45 +03:00
Esa Korhonen
e346c7b13b Merge branch '2.3' into 2.4 2020-04-02 16:46:48 +03:00
Esa Korhonen
071501ea1f MXS-2900 Run uncrustify on testconnections.cpp
Also some other minor cleanup.
2020-04-02 11:52:02 +03:00
Esa Korhonen
5ed99b2f5b MXS-2900 Move more TestConnection fields to private 2020-04-02 11:51:36 +03:00
Esa Korhonen
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
Esa Korhonen
711d6a4083 Merge branch '2.3' into 2.4 2020-04-01 21:31:30 +03:00
Esa Korhonen
a3e358f29b MXS-2900 Cleanup test labels handling
The labels are stored in sets for easy searching.
2020-04-01 21:28:03 +03:00
Esa Korhonen
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
Markus Mäkelä
08bc1ff594
Merge branch '2.3' into 2.4 2020-04-01 09:14:40 +03:00
Markus Mäkelä
67a77a2497
MXS-2944: Remove old tutorials 2020-04-01 09:09:28 +03:00
Markus Mäkelä
007f41ddf3
Merge remote-tracking branch 'origin/2.3' into 2.4 2020-03-31 14:50:42 +03:00
Markus Mäkelä
e0cd4ec485
MXS-2931: Use a preun, not a postun, script
The script must be called before the package is removed on CentOS 6 to
allow the process to be stopped correctly.
2020-03-31 14:49:54 +03:00
Esa Korhonen
194ade9439 Merge branch '2.3' into 2.4 2020-03-31 14:09:32 +03:00
Esa Korhonen
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
Esa Korhonen
3441497079 Merge branch '2.3' into 2.4 2020-03-31 12:15:42 +03:00
Esa Korhonen
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
Esa Korhonen
4ff703910f Merge branch '2.3' into 2.4 2020-03-30 11:31:26 +03:00
Esa Korhonen
480c57c122 MXS-2900 Move more TestConnections fields to private 2020-03-30 10:28:12 +03:00
Markus Mäkelä
6fdb7ed089
Merge remote-tracking branch 'origin/2.3' into 2.4 2020-03-30 10:23:35 +03:00
Markus Mäkelä
c270cfad31
Install 2.4 license file 2020-03-30 10:18:18 +03:00
Markus Mäkelä
2630cc930f
Install 2.3 license file 2020-03-30 08:53:55 +03:00
Markus Mäkelä
1fc5ec36b1
Add filters to maxctrl show service
The filters were not listed.
2020-03-30 08:53:55 +03:00
Markus Mäkelä
7b00d2c01b
MXS-2942: Only DELETE monitors with no servers
The behavior is now according to the documentation and is consistent with
how services behave.
2020-03-30 08:53:54 +03:00
Markus Mäkelä
a412ed6211
Fix monitor REST API documentation
The DELETE documentation had the wrong endpoint.
2020-03-30 08:53:54 +03:00
Esa Korhonen
f101ff642f Merge branch '2.3' into 2.4 2020-03-27 20:34:23 +02:00
Markus Mäkelä
e6ee3aaff4
MXS-2943: Use correct variable 2020-03-26 06:08:56 +02:00
Markus Mäkelä
557a108940
MXS-2943: Add ColumnStore-as-a-plugin support
The version of the ColumnStore that is distributed as a plugin with
MariaDB is now correctly detected.
2020-03-25 15:33:15 +02:00
Esa Korhonen
af593262f9 Merge branch '2.3' into 2.4 2020-03-25 11:09:41 +02:00
Esa Korhonen
3d7ee2e8cd MXS-2900 Clean up test config file and label handling 2020-03-24 14:14:20 +02:00
Esa Korhonen
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
Timofey Turenko
89a8d6ace5 Use bigger VMs for system tests 2020-03-23 16:16:07 +02:00
Timofey Turenko
efe5bdfd9f Adopt run_test.sh for parallel test execution from BuildBot 2020-03-23 16:15:25 +02:00
Markus Mäkelä
80a8fd55be
Merge branch '2.3' into 2.4 2020-03-19 15:13:19 +02:00
Markus Mäkelä
a8e2584bfc
Fix REST API servers documentation
Always use plural form of the objects. PATCH example used PUT.
2020-03-19 15:13:02 +02:00
Markus Mäkelä
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
Markus Mäkelä
552fdcb88a
MXS-2938: Log session command info on routing failure
If the session command could not be routed, the log message should contain
the actual command that was routed. This makes failure analysis much
easier.
2020-03-19 15:12:31 +02:00
Johan Wikman
ae67d88fef Merge branch '2.4.8' into 2.4 2020-03-18 15:16:26 +02:00
Johan Wikman
e92368e3e1 Update 2.4.8 release date 2020-03-18 15:09:40 +02:00
Markus Mäkelä
b921d70892
Merge branch '2.4.8' into 2.4 2020-03-17 17:56:00 +02:00
Markus Mäkelä
5984af468c
Process EPOLL[RD]HUP after EPOLLIN
This allows COM_QUIT packets to be processed first in case a EPOLLIN and a
EPOLLRDHUP event arrive at the same time. This fixes the pers_01 test.
2020-03-17 15:20:07 +02:00
Johan Wikman
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
Markus Mäkelä
9609f5d180
Revert "MXS-2920: Allow max_slave_replication_lag=0"
This reverts commit ca69da49911074a9d218f05936282fd72a674af5 and removes
the bug from the release notes.
2020-03-17 06:58:26 +02:00
Markus Mäkelä
5121aa296e
Add timeout to rwsplit_readonly_stress
This prevents the test from hanging.
2020-03-16 15:09:41 +02:00
Markus Mäkelä
e7b8aca605
Stop MaxScale after tests
This allows crashes on exit to be detected.
2020-03-16 15:08:52 +02:00