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
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ä
67a77a2497
MXS-2944: Remove old tutorials
2020-04-01 09:09:28 +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
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
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
480c57c122
MXS-2900 Move more TestConnections fields to private
2020-03-30 10:28:12 +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
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ä
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ä
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
Johan Wikman
f0fd480237
Merge branch '2.3.18' into 2.3
2020-03-12 10:27:26 +02:00
Johan Wikman
7efdb5dd28
Update 2.3.18 release date
2020-03-12 10:20:54 +02:00
Johan Wikman
04533e6293
2.3.18 Create release notes and update change log
2020-03-12 10:20:54 +02:00
Timofey Turenko
09c8e7b29b
create symlink also from sles to opensuse repos
2020-03-11 20:23:12 +02:00
Timofey Turenko
8b2c46991b
Set cpu cores number to build VM and separate build and upgrade
...
VM should have 8 cores to make build faster in GCloud.
To get rid of ssfs between build hosts the build step
and upgrade test step are separated as well as
repository discriåtion generation
2020-03-11 19:00:27 +02:00
Timofey Turenko
a97973665a
Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3
2020-03-11 18:57:54 +02:00
Timofey Turenko
33ccc4687c
Set cpu cores number to build VM and separate build and upgrade
...
VM should have 8 cores to make build faster in GCloud.
To get rid of ssfs between build hosts the build step
and upgrade test step are separated as well as
repository discriåtion generation
2020-03-11 18:50:53 +02:00
Johan Wikman
df18c1b2e8
Update maintenance version for 2.3
2020-03-10 15:09:29 +02:00
Markus Mäkelä
38420c38b9
Upgrade to nodejs 6.17.1
2020-03-10 14:25:05 +02:00
Johan Wikman
e0cd6adb26
Update change date for 2.3.18
2020-03-10 10:45:47 +02:00
Johan Wikman
8dd9a4ca27
MXS-2917 Add missing destructors to sqlite rules
...
Lemon (the sqlite parser generator) destructors are needed for
all rules that return dynamically allocated structures. Otherwise
there may be leaks if a statement is not completely parsed.
2020-03-09 15:24:20 +02:00
Esa Korhonen
4a2d3dc55b
MXS-2914 Link to pcre2 syntax page instead of API page
...
More appropriate link.
2020-03-04 16:38:18 +02:00
Markus Mäkelä
2f6d003491
MXS-2832: Document failover timing estimates
...
The worst-case time it takes for failover to start is now documented.
2020-03-04 08:49:03 +02:00
Markus Mäkelä
e2e220de66
MXS-2726: Document ccrfilter default behavior
...
Added an explicit mention of the way the filter works.
2020-03-02 17:30:11 +02:00
Markus Mäkelä
b7d0be97ab
MXS-2211: Auto-generate TOC
...
The link no longer works as the section has been removed. Auto-generating
the TOC solves this.
2020-03-02 17:30:10 +02:00
Markus Mäkelä
207882defb
MXS-2277: Document script limitations
...
The script should not interact with the administrative interfaces of
MaxScale.
2020-03-02 17:30:10 +02:00
Markus Mäkelä
67fee60f80
Fix Auth Error server status
...
The mon_ping_or_connect_to_db resets the MYSQL handle which caused the
loss of the error message. Returning a new enumeration value for
authentication errors solves this problem.
2020-03-02 16:32:35 +02:00
Esa Korhonen
96ba2da40c
MXS-2900 Move testcore library files to a dedicated directory
...
The library is now named "maxtest". The related include-files are, for
now, usable without designating the full include path. This may be changed
later, but would require modifying every test.
2020-03-02 11:17:30 +02:00
Markus Mäkelä
e180c20055
MXS-2899: Update charset only when successful
...
By updating the server charset only when we successfully query it, the
charset will not change due to network connectivity problems.
2020-02-27 14:18:51 +02:00
Markus Mäkelä
0614a44a4d
Add monitor TLS test case
...
Added a test that verifies the server state is Down when the backend
doesn't support TLS.
2020-02-24 12:02:50 +02:00
Markus Mäkelä
b241f7ed2a
MXS-2896: Fix monitor connection creation
...
The connection is now correctly null after a failed attempt to connect.
2020-02-24 12:02:50 +02:00
Markus Mäkelä
13658fe23e
MXS-2810: Fix CentOS 6 regression
...
MaxScale wasn't stopped if the system didn't use systemd.
2020-02-24 12:02:50 +02:00
Markus Mäkelä
61050ed125
Fix Avro C API link
...
The old link is dead.
2020-02-19 19:24:39 +02:00
Johan Wikman
919686f7ad
Merge branch '2.3.17' into 2.3
2020-02-12 08:22:59 +02:00
Johan Wikman
81e2306811
Update 2.3.17 release date
2020-02-12 08:20:15 +02:00
Johan Wikman
853a83a794
Update 2.3 maintenance version
2020-02-12 08:17:55 +02:00
Markus Mäkelä
fd875cbf6d
Remove faulty debug assertion
...
The use of the server state is not transactional across multiple uses of
the function. This means that any assertions on the target state can fail
if the monitor updates the state between target selection and the
assertion.
2020-02-11 22:34:39 +02:00
Markus Mäkelä
c18f9c6bd7
MXS-2883: Handle AuthSwitchRequest packets
...
The backend didn't expect AuthSwitchRequest packets in response to the
handshake response packets. This is allowed by the protocol and appears to
happen with at least MySQL 8.0.
2020-02-10 15:35:47 +02:00
Johan Wikman
b5dc260d1b
Add 2.3.17 release notes and update change log
2020-02-10 15:34:26 +02:00
Johan Wikman
cfb3f79b54
Update 2.3.17 Change Date
2020-02-10 15:28:38 +02:00