Commit Graph

95 Commits

Author SHA1 Message Date
d632c195ff 2.4.19 Update change date 2022-01-04 15:47:38 +02:00
47a47db79e 2.4 Fix broken sanity_check.cpp 2021-12-28 08:29:01 +02:00
a3209bd1ca MXS-3915: Add test case
Extended sanity_check to cover this bug. The test reproduces the bug and
verifies that the fix works.
2021-12-14 16:35:37 +02:00
2a54224927 2.4.18 Update change date 2021-10-29 08:29:51 +03:00
c668da624b MXS-3656 Fix test crash_on_bad_sescmd
Spaces in object names.
2021-07-02 09:39:13 +03:00
7643dd1445 MXS-3417 Move mxs1662_pam_admin-test inside pam_authentication
The test failed because the linux user it used was not available
on buildbot. Now the test is part of the larger pam_authentication-
test, which sets up the users.
2021-03-26 11:28:03 +02:00
19d999f8ee MXS-3417 Indicate a skipped test with a special return value 2021-03-08 16:53:49 +02:00
a8bfbbe254 2.4.17 Update change date 2021-03-08 09:03:02 +02:00
70fa260242 MXS-3418 Do not attempt to stop MaxScale if running locally 2021-03-03 12:58:49 +02:00
2c1b3ac733 MXS-3418 Ignore spaces when modifying network config
Much better would be to first allow the config to be parsed
and only then change the value.
2021-03-03 10:18:14 +02:00
e976912118 MXS-3418 Remove erroneous line
Forgot to commit fix after cherry pick.
2021-03-03 09:08:24 +02:00
28f24eae15 MXS-3418 Make non_native_setup easier to use
If invoked without needed arguments, will tell what they are.
2021-03-03 09:06:59 +02:00
38e623df9c MXS-3410 Drop anonymous users also in Xpand
As Xpand does not have a mysql.user table but a system.users
table, we need to arrange things so that the query used for
selecting annymous users can be different depending on the cluster.
2021-02-19 15:42:04 +02:00
f782a538cc MXS-3410 Add Mariadb_nodes::prepare_for_test(MYSQL*)
Needs to be a member function as the dropping of anonymous
users must be done differently for Xpand. With current code,
no anonymous users in Xpand will be dropped, and there will
always be an error (so, should someone care about the return
code, this would not work).
2021-02-19 12:50:43 +02:00
c0abec4e5b MXS-3410 Rename Mariadb_nodes::flush_hosts() to prepare_for_test()
The function does more than simply executes "FLUSH HOSTS". Also
change return type to bool as that is what it has returned.
2021-02-19 12:38:10 +02:00
3fefe557c0 MXS-3410 Make xpand system test setup more resilient
Xpand nodes must be added one by one to the cluster as an attempt
to add more nodes will fail, if any of the nodes to be added
already are in the cluster.

Further, the adding of a node may also fail if, when the addition
is made, the addition of the previous node is still in process.
Now it will be attempted at most 5 times, while sleaping as many
seconds between each attempt as there has been attempts.

Some additional logging was also added.
2021-02-18 15:12:20 +02:00
0224f24077 2.4.16 Update Change Date 2021-02-16 14:59:00 +02:00
2d0780bdfa Fix open_close_connections
Missing comma in the test assertion.
2021-01-22 14:03:07 +02:00
219b4422cd Add more output to binlog_change_master
Knowing the GTIDs before the MASTER_GTID_WAIT call should help us figure
out why it doesn't seem to be working as expected.
2021-01-22 10:12:59 +02:00
a617347fb6 Fix open_close_connections
The assumption that errno would be the same for the duration of the whole
call chain is wrong as it's possible that other calls that modify it are
made. Using the actual error string itself is much more reliable.
2021-01-22 10:12:59 +02:00
9fceffbf9e Backport mxs1071_maxrows fix
This is a backport of commit `4167399cefa4f1621e1fa5ee7fe54c12736a6d21`.
2021-01-22 10:12:59 +02:00
88e4b5724b Backport mxs1804_long_ps_hang fix
This is a backport of commit `cec91ccb298dabce0857ec566a8671e34b58259b`.
2021-01-22 10:12:58 +02:00
8ec0deb0fc Fix mysql_enforce_simple test 2021-01-20 12:16:27 +02:00
c5bcf7a8b1 2.4.15 Update change date 2021-01-18 15:30:30 +02:00
9500665e89 Merge branch '2.3' into 2.4 2020-12-28 16:01:17 +02:00
be997b56c6 Fix system-test MDBCI template 2020-12-28 16:00:42 +02:00
36a655a819 Merge branch '2.3' into 2.4 2020-12-28 13:53:15 +02:00
e9a6871fae Fix processing of force_*_version in mdbci/set_run_test_variables.sh 2020-12-28 13:52:51 +02:00
9388f9bfca fix conflicts 2020-12-28 13:16:47 +02:00
c03e557a31 add force_version parameters to the MDBCI template 2020-12-25 13:42:16 +02:00
6ed1173cd6 add force_version parameters to the MDBCI template 2020-12-25 13:31:10 +02:00
7c68c396a2 system-test works with production version of Maxscale
Every change to MariaDB Enterprise should be tested with Maxscale.
Maxscale should be stable - installed from production repository.
New enviromental variable 'maxscale_product' is introduced.
It can be 'maxscale' or 'maxscale_ci' (default is 'maxscale_ci')
2020-12-23 04:06:35 +02:00
22698ed6fb fix maxscale_product env variable 2020-12-23 02:33:19 +02:00
be7b04f963 Find MDBCI executable file 2020-12-23 00:02:32 +02:00
601eadac8b Fix default.json template 2020-12-21 13:41:09 +02:00
5ef953fb4a add comment 2020-12-21 11:50:45 +02:00
36b97ea198 MXS-3324 Test switchover with autocommit off 2020-12-17 13:37:30 +02:00
4dd057d99d MXS-3158 Add test case
Test that monitor does not alter event charset or collation.
2020-12-14 14:06:43 +02:00
8787b5dc81 Merge branch '2.3' into 2.4 2020-12-07 22:16:47 +02:00
f9be1d9cb4 test_bad_config() return 1 when ssh result is 256 2020-12-07 22:15:09 +02:00
65261c8eeb Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2020-12-07 22:12:12 +02:00
f0ac65ffb5 Fails system-test if they are not executed properly
In case of VM creation problem or test code build problem
run_test.sh and run_test_vm.sh exit with 1 to show the problem
in the BuildBot
2020-12-07 22:10:17 +02:00
7a26207564 Fix typo 2020-12-07 13:46:18 +02:00
347468e87d config_test should fail also if VM is broken
config_test expects Maxscale start failure, but ssh to
Maxscale node also fails if VM is broken.
Test should fail in case of VM problem to prevent
Maxscale problem hiding.
2020-12-07 13:24:41 +02:00
b953e0c395 Merge branch '2.3' into 2.4 2020-12-01 06:36:34 +02:00
5c34c0f202 use stop/start_node() to restart server 2020-11-30 16:23:49 +02:00
46c3755678 add server restart to prepare_servers() 2020-11-30 16:17:33 +02:00
9be78df776 MXS-3306 Make binary_ps test work with more servers than 4
When doing the match, the test only checked slaves 1 - 3. If the
test is run after a heavy test there will also be slaves 4 - 14.
2020-11-30 07:59:54 +02:00
47f5f2f0cc Set Xpand version to 'latest' in system-test
Now MDBCI is able to find latest version of XPand automatically
2020-11-25 16:19:50 +02:00
27528628e2 Merge branch '2.4.14' into 2.4 2020-11-24 13:56:38 +02:00