b8be905b08
Merge branch '2.3' into develop
2019-02-06 12:24:09 +02:00
cf4724d128
MXS-2265: Fix formatting of the zero timestamp
...
The UNIX timestamp 0 should be treated as a special value and must be
interpreted as 0-00-00 00:00:00 instead of 1970-01-01 00:00:00.
2019-02-06 12:11:06 +02:00
554f1cc41c
MXS-2265: Extend datatype test case
...
Added zero date testing.
2019-02-06 12:11:06 +02:00
6038f1f386
Merge branch '2.3' into develop
2019-02-01 13:55:54 +02:00
968743f61a
Fix compiler errors related to unused results
2019-02-01 12:31:53 +02:00
944ee3d977
MXS-2223 Test delayed slave logging
...
The test now checks that the log contains related messages.
2019-02-01 10:41:16 +02:00
f476266637
Increase number of monitor waits in mxs1507_trx_replay
...
The test appears to have failed at least once when the monitor did not,
for some reason, notice that a server was down. Also adjusted the queries
to be more unique across the test cases.
2019-01-31 14:23:27 +02:00
e5cdefa69d
MXS-2300: Add history pruning test
...
The test checks that the session command history pruning works as
expected.
2019-01-31 14:23:27 +02:00
f39f27cd7b
MXS-2295: Session command loop test case
...
Test executes various session commands in a loop and makes sure a
COM_CHANGE_USER resets the history.
2019-01-31 14:23:26 +02:00
556ea552aa
MXS-2273 Add system test
2019-01-30 13:04:32 +02:00
f94a28f033
maxscale-system-test: Inherit compiler flags
...
Inherit compiler flags when building maxscale-system-test from
main cmake file.
2019-01-30 12:09:16 +02:00
fcd3a6a384
Remove erroneous whitespace from config files
...
Some whitespace was missed.
2019-01-29 11:18:41 +02:00
9083ea2d02
MXS-2290 Reject use of whitespace in section names
...
Whitespace in section names was deprecated in 2.2 and in 2.4 it
will be rejected.
2019-01-28 12:22:28 +02:00
f78df53f30
MXS-2274 Add test
...
Check that use of reserved names (those starting with "@@") in
configuration file is rejected.
2019-01-28 12:22:28 +02:00
5ebd237a4f
MXS-2290 Replace whitespace is section names with -
...
Whitespace in section names have been deprecated since 2.2 and will
be rejected in 2.4. Consequently, the configuration files of the
system tests must be updated.
2019-01-24 17:45:10 +02:00
7181ea4083
MXS-2266: Add test case
...
Extended the existing tests to cover MXS-2266.
2019-01-16 12:22:06 +02:00
f5f6a12484
Start Galera correctly
...
The Galera documentation tells us to use the galera_new_cluster command to
start a new Galera cluster. This should prevent the problems of nodes
failing to join the cluster either on the initial startup or after a node
goes down.
2019-01-16 10:01:58 +02:00
511f01a28d
MXS-2252: Add test case
...
Added a test case that verifies the correct user is used.
2019-01-16 09:43:50 +02:00
34359bdc83
Merge branch '2.2' into 2.3
2019-01-11 13:02:43 +02:00
4c61b646a4
Wait two intervals in mysqlmon_failover_rejoin_old_slave
...
The failover process takes at least two intervals to happen. With only a
single wait, it was down to luck whether the test would succeed.
2019-01-11 09:34:06 +02:00
0859f3caff
Merge branch '2.2' into 2.3
2019-01-07 10:33:34 +02:00
1b0b32cbe8
Update release documentation
...
Updated the instructions on how releases are made.
2019-01-03 13:07:05 +02:00
26da72a41f
Merge branch '2.2' into 2.3
2019-01-03 09:23:16 +02:00
04dd05b262
MXS-2231: Move TLS handshake code into MariaDBClient
...
The code is now in the correct place and TLS connections with all
authenticators should now work.
2019-01-02 19:29:41 +02:00
d48c17fd08
MXS-2231: Add Kerberos+SSL test case
...
Added a test case that uses Kerberos services with SSL enabled listeners.
2019-01-02 19:27:14 +02:00
038f4d63e1
Mxs 2226 long test ( #186 )
...
* add possibility to run named test
* remove sysbench_dir
* remove unsupported in 1.0 sysbench options
* exculed ReadConnRouter sysbench test
* fix sysbench table name
2018-12-31 17:27:04 +02:00
95d8ee9305
Extend maxctrl system test
...
The test now executes all commands present in MaxCtrl.
2018-11-30 12:05:14 +02:00
1d91895f41
Fix switchover_auto and rejoin_bad tests
...
Increased some timeouts which were a bit too short in some cases. Cleaned up
the tests too.
2018-11-28 13:08:49 +02:00
73aaa3c981
Use failcount=1 in keepalived_masterdown
...
This speeds up the test and most possibly fixes it.
2018-11-27 12:52:45 +02:00
64ca8d4aaa
Simplify mxs1743_rconn_bitmask
...
The test now uses maxctrl to count how many connections there are. This
helps avoid creating new users on the database and works around the slave
syncing problems.
2018-11-27 12:52:45 +02:00
a15aab610a
MXS-2187: Add test case
...
The test checks that a single transaction can survive multiple master
failovers.
2018-11-27 12:52:45 +02:00
636fdca4aa
Update expected outcome of error_messages
...
The test is expected to fail until MXS-2174 is fixed.
2018-11-27 12:52:43 +02:00
19ad915685
Add failover and read_only test
...
The test performs a series of node stops and starts and checks that server
states are correct and read_only is set on slaves.
2018-11-26 12:13:59 +02:00
e287e29ad0
Fix mxs1476 config
...
The parameter name was wrong.
2018-11-26 09:43:10 +02:00
de49797014
Rewrite bug561.sh in C++
...
Rewrote the bug561.sh test as the error_messages test that covers what was
tested by the script as well as some new parts that were untested. This
revealed a bug in the error messages where MaxScale always returns the
database name in the error.
2018-11-22 13:51:08 +02:00
aa2572c677
Pass database as a parameter in connect
...
When connecting to a node, a database can now be optionally given as a
parameter. This makes testing with different databases easier as the need
to use the explicit functions is removed.
2018-11-22 13:51:08 +02:00
cb67d4cee3
Log instructions for bypassing test dependency checks
...
If not all test programs are installed, instructions on how to bypass them
are logged. This allows testing without installing all of the packages.
2018-11-22 13:51:08 +02:00
816e45ccb9
Add multimaster test with 'assume_unique_hostnames' disabled
...
Uses the same test code, just changes the config file. This test is currently
the only one in which the setting is disabled.
2018-11-22 12:17:45 +02:00
0916b58c7e
Merge branch '2.2' into 2.3
2018-11-21 16:46:06 +02:00
7777732f19
remove tabs and spaces from set_env.sh
2018-11-21 13:53:50 +02:00
b44ea837b9
do not use ssh to check MariaDB server start command
...
maxscale-system-test/set_env.sh script is slow because it checks if MariaDB start command is mysql or mysqld
Now all versions can be started with 'mysql' except MySQL 5.5 which is not supported
2018-11-21 13:39:01 +02:00
45eee098d1
MXS-2158 Add test case for rejoining a server with no gtid
2018-11-20 11:28:29 +02:00
87e350f171
Remove hard-coded server_id from mysqlmon_failover_stress
...
Dynamically probing the server_id prevents the test from failing if the
server configuration is changed.
2018-11-19 20:19:21 +02:00
41670875fc
MXS-2146: Add csmon test case
...
Added a test case that does a set of sanity checks on the monitor. As the
monitor is very simple, there are not a lot of things to test without
access to the actual instances (e.g. ExeMgr failures need to be tested).
Currently the test always passes as ColumnStore clusters aren't
implemented for the test framework.
2018-11-19 20:19:21 +02:00
da1772f8c9
MXS-2146: Add conditional columnstore usage
...
Tests can now declare that they require a columnstore setup. If one is not
present, the test is skipped.
2018-11-19 20:19:18 +02:00
92b4ed2867
Use explicit paths for bad config location
...
The test_bad_config used implicit locations which aren't very clear. Using
an explicit path, /tmp/, solves all of these problems.
2018-11-19 20:03:22 +02:00
778623bdfd
Make mysqlmon_failover_manual2 tests faster
...
Removed the sleeps and used wait_for_monitor instead. Also dropped the
table at the end of the test.
2018-11-19 20:03:22 +02:00
fd3a42ceb6
Remove unnecessary sleeps from tests
...
Removed unnecessary sleeps and replaced sleeps with wait_for_monitor in
some older tests. Also removed the odd arrangement of arrays in
server_weight.
2018-11-19 20:02:13 +02:00
47092ed18a
Prevent connection double counts in tests
...
The function would count a connection twice if hostname resolution was not
enabled and both the host and the IP matched.
2018-11-19 20:02:13 +02:00
601c2d6633
Drop databases in connect_to_nonexisting_db
...
The test left undropped databases after itself which caused unnecessary
work with repeated runs. Also removed the somewhat superficial wait at the
start of the test.
2018-11-19 20:02:12 +02:00