Commit Graph

45 Commits

Author SHA1 Message Date
d632c195ff 2.4.19 Update change date 2022-01-04 15:47:38 +02:00
2a54224927 2.4.18 Update change date 2021-10-29 08:29:51 +03: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
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
c5bcf7a8b1 2.4.15 Update change date 2021-01-18 15:30:30 +02:00
9388f9bfca fix conflicts 2020-12-28 13:16:47 +02:00
6ed1173cd6 add force_version parameters to the MDBCI template 2020-12-25 13:31:10 +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
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
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
0fe6f70458 Merge branch '2.4.14' into 2.4 2020-11-23 12:48:24 +02:00
a0922a2451 2.4.14 Fix xpand cluster setup 2020-11-19 13:37:14 +02:00
f2f2e66da3 Merge branch '2.3' into 2.4 2020-11-19 09:42:36 +02:00
41caccbf4b Separate MariaDB installation and Galera configuration
MDBCI now supports separate Galera server .cnf configuring.
Changing MDBCI config template in order to use this MDBCI
capability. It allows to use any MariaDB product in the
backend (Community or Enterprise, production, staging or CI)
2020-11-18 19:12:24 +02:00
32b1ca147e Merge branch '2.3' into 2.4 2020-11-18 15:36:13 +02:00
ed3e1ac2ec use MDBCI to install Kerberos 2020-11-18 15:33:57 +02:00
df36ef86d0 2.4.14 Update Change Date 2020-11-16 14:23:26 +02:00
87cb6f76a1 Merge branch '2.3' into 2.4 2020-11-11 15:04:51 +02:00
e685741642 Configure SSL before starting MaxScale
This makes sure that the servers are correctly configured before MaxScale
sees them.
2020-11-11 11:22:59 +02:00
11368e5ed0 Merge branch '2.3' into 2.4 2020-10-29 15:25:21 +02:00
46dab1e884 MXS-3259: Add default connection timeout
The connector never times out if one is not defined. This seems to help
make the mxs1985_kill_hang test a lot more stable.
2020-10-29 15:12:49 +02:00
7680c9ce11 Rename Clustrix to Xpand in the tests 2020-10-22 15:28:10 +03:00
3546b716c5 Fix Clustrix tests
Now MDBCI is responsible for Clustrix installation
as well as license processing.
Clustrix version is hardcoded now
(until MDBCI fix for finding latest version)
2020-10-21 23:31:43 +03:00
49b2471cbb Do not hardcode MDBCI box for Clustrix 2020-10-19 14:30:41 +03:00
faaf7f483e 2.4.13 Update Change Date 2020-10-14 09:15:46 +03:00
7968f41482 Merge branch '2.3' into 2.4 2020-09-01 09:15:56 +03:00
c8983886f2 Use TLS with the Connection class
This fixes the problem where an encrypted connection would not be created
even though the option for it was there. Also made it configurable outside
of the constructor to make it easier to use in tests.
2020-08-31 10:15:48 +03:00
babcda3eca 2.4.12 Update Change Date 2020-08-24 09:42:48 +03:00
eaac7881f0 Merge branch '2.3' into 2.4 2020-08-14 15:12:48 +03:00
b31cb20bae MXS-2900 Add parameter checking to tprintf-function 2020-08-13 22:43:03 +03:00
19dc1fd6e3 Merge branch '2.3' into 2.4 2020-07-28 16:15:50 +03:00
08f5174915 MXS-2900 Rename maxscale-system-test directory to system-test
A link with the old directory name is provided.
2020-07-28 15:24:27 +03:00