Commit Graph

1030 Commits

Author SHA1 Message Date
cb1e7b14b4 Remove debugcli from test configurations
The module has been removed in 2.4.
2019-05-24 10:05:15 +03:00
64935573b2 Add virtual functions check_replication() and start_replication() for Clustrix
Implementations of check_replication() and start_replication() for Clustrix allows to use fix_replication()
also for Clustrix nodes without checking it.
Also several attempts to check nodes after restart are added - to wait for nodes if they are not running
right after server daemon restart
2019-05-22 15:39:25 +03:00
e545e2ac5c Merge branch '2.3' into develop 2019-05-22 10:02:27 +03:00
365efb9d3a Ignore SIGHUP termination in ssh_node
Sometimes the command appears to complete and terminate with a SIGHUP
instead of the proper return value.
2019-05-22 09:56:35 +03:00
6667dbed18 Add missing HEAVY label to big tests 2019-05-21 13:15:20 +03:00
5828061321 Merge branch '2.3' into develop 2019-05-17 14:39:30 +03:00
f94355770f Merge branch '2.2' into 2.3 2019-05-17 14:10:28 +03:00
677023a18f Move version pronting from call_mdcbi() directly to TestConnectios()
mdbci call can heppen before maxsales object creation and segfault hapens
To avoid it call of ssh for 'maxscale --version-full' is moved to the end
of Testconnections constructor
2019-05-16 14:36:37 +03:00
a12a0af887 Merge branch '2.3' into develop 2019-05-15 15:47:36 +03:00
8a67c702b8 MXS-2475 Final fix for mxs1980_blr_galera_server_ids
In this context wsrep_gtid_domain_id and gtid_domain_id need to
be the same to ensure that all gtids will be the same.
2019-05-15 14:55:21 +03:00
a3e9ce651f Add 'maxscale --version-full' command to call_mdbci()
Previously Maxscale version check was in the 'check_backend', but this was
removed from the tests execution process. Now 'maxscale --version-full'
is added to nodes creation function - to call_mdbci()
2019-05-15 13:18:27 +03:00
c09617cd82 Merge branch '2.3' into develop 2019-05-14 12:33:50 +03:00
ffecce4153 Fix non_native_setup
The arguments must be passed as-is to the TestConnections constructor.
2019-05-14 10:54:32 +03:00
b7d948db3f MXS-2475 Properly setup the Galera nodes 2019-05-14 10:13:09 +03:00
79cfd7183d MXS-2475 Fix mxs1980_blr_galera_server_ids test
At some point the replicating slave had been changed to be
a Galera node. Won't work as the Galera node is a master.
2019-05-14 10:13:09 +03:00
ef25eceb78 Test lazy_connect
The test makes sure the various corner cases are covered by the test
suite.
2019-05-10 13:20:33 +03:00
5960bb5e61 Extend mxs359_error_on_write
The test now checks that an error is returned even if the master fails
mid-query.
2019-05-10 13:20:33 +03:00
2b292c1e5c Test causal_reads with slow slaves
Extended the test to cover the retrying of the query on the master that
happens when the slave is lagging behind.
2019-05-10 13:20:33 +03:00
7cb9801e1e MXS-2152: Copy files to a local directory first 2019-05-10 13:20:33 +03:00
35a232aa5d MXS-2152: Fix coverage report export location 2019-05-10 13:20:32 +03:00
b78e0f9a08 MXS-2152: Always start maxscale_000 in run_test.sh 2019-05-10 13:20:32 +03:00
4717b4c975 MXS-2152: Enable code coverage for specific test runs 2019-05-10 13:20:32 +03:00
c0b238a9e7 MXS-2152: Add rudimentary test coverage collection
If the build is configred with -DGCOV=Y, a HTML report of code coverage is
generated in the log publish directory.
2019-05-10 13:20:32 +03:00
0d13e694e4 Merge branch '2.3' into develop 2019-05-10 09:28:39 +03:00
3c5a932010 Fix masking_mysqltest for 2.3
Since UNIONs that would allow a column to be masked are
rejected, there is no need to check that masking is performed
since we will never get that far.
2019-05-09 17:12:52 +03:00
56c27afd0a MXS-2458: add template for Clustrix monitor tests
First implementation of Clustrix setup creation
TODO: move Clustrix installation to MDBCI
2019-05-07 17:17:57 +03:00
8482337333 Merge branch '2.3' into develop 2019-05-06 20:16:02 +03:00
4e3a581c94 Merge branch '2.2' into 2.3 2019-05-06 20:09:37 +03:00
5ac24de6b0 Remove log_to_shm
The feature was removed in 2.3 and was ignored if configured.
2019-05-06 16:05:50 +03:00
adde085b7d Fix incorrect closing bracket in strlen call
The bracketing was causing heap overflow when trying to run the system
tests.
2019-05-06 13:50:18 +03:00
bc2d877898 Merge branch '2.3' into develop 2019-05-06 10:57:30 +03:00
31a6668420 Add PAM authenticator test
Both a normal PAM user and anonymous user mapping are tested.
2019-05-06 10:44:18 +03:00
96b6acecff MXS-2427 Extend namedserverfilter test
Tests with two targets.
2019-05-06 10:31:51 +03:00
fb0745e3de Merge branch '2.3' into develop 2019-05-03 13:48:57 +03:00
e9144219f5 MXS-2457 Add database firewall test 2019-05-03 13:38:12 +03:00
3fa1f0773e MXS-2457 Update test program 2019-05-03 13:38:12 +03:00
3dd9298b18 MXS-2456: Test transaction replay cap
Added a test that makes sure the transaction replay cap is respected. Also
improved the logging to show how many transaction replay attemps have been
done and to log if a replay is not done due to too many attempts.
2019-05-02 16:59:36 +03:00
9e85389b80 MXS-2414: Add test case
Added a test that checks the host blocking is triggered and it blocks even
successful authentication attemps.
2019-04-30 14:49:36 +03:00
643514bbe4 Merge branch '2.3' into develop 2019-04-30 12:46:07 +03:00
3c8d6fc175 Fix Werror=format-overflow warning in bug471 2019-04-27 16:32:34 +03:00
08bd7c99be Add a possibility to run tests under callgrind
Flag 'use_callgrind' make all maxscale-system-test run Maxscale under Valgrind with --tool=callgrind option
2019-04-26 17:30:10 +03:00
07ea6bd9ba MXS-2450: Don't discard history if it's disabled
If the session command history is not enabled, it shouldn't be discarded
when a COM_CHANGE_USER is executed.
2019-04-25 11:49:01 +03:00
f6c6415c4f Add build test deps specific for 2.4 2019-04-24 15:41:15 +03:00
4ad60fa2a2 Merge branch '2.3' into develop 2019-04-24 13:29:04 +03:00
b972d88bba Merge branch '2.2' into 2.3 2019-04-24 12:51:32 +03:00
f8c964163f Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2019-04-23 13:46:53 +03:00
b7e9d8e189 remove maxscale-system-test/cnf/maxscale.cnf.template.replication.one_slave_big as soon as it is generated automatically 2019-04-23 12:33:23 +03:00
be7f5ad1c8 remove maxscale-system-test/cnf/maxscale.cnf.template.replication_big as soon as it is generated automatically 2019-04-23 12:28:24 +03:00
4186f39616 Merge branch '2.3' into develop 2019-04-23 12:11:09 +03:00
5e6107d451 MXS-2441: Add galera with slaves test case
The test checks that servers replicating from Galera nodes work as
expected.
2019-04-23 11:57:10 +03:00