1bd82555d9
MXS-2481 Add Clustrix group change test skeleton
2019-05-28 12:36:21 +03:00
7b803f621c
MXS-2481 Change blurb
2019-05-28 12:36:21 +03:00
8a2c43d297
MXS-2481 Add configuration file template
2019-05-28 12:36:21 +03:00
18214b1aa2
MXS-2481 Add Clustrix module-command test
...
Softfailing should turn the state of a server to Drained.
2019-05-28 12:36:21 +03:00
c0a0bb86a0
MXS-2481 Add MaxRest functionality
...
- show_server
- call_command
2019-05-28 12:36:21 +03:00
c35d92eccc
MXS-2481 Check that node-absense leads to Down
...
If MaxScale cannot ping the health-check port of a node, the
state of the node should become 'Down'.
2019-05-28 12:36:21 +03:00
a8487a945a
MXS-2481 When Clustrix [un]block health port as well
...
In the case of Clustrix, it is not sufficient to block the MariaDB
port alone, but the health-check port must be blocked as well.
2019-05-28 12:36:21 +03:00
0d3a235851
MXS-2481 Allow [un]block-commands to be overriden
...
In the case of Clustrix, there are other ports to block as well.
2019-05-28 12:25:21 +03:00
5a26bd8ce5
MXS-2481 Rename MaxCtrl to MaxRest
...
So as not to believe that the program depends upon or uses
maxctrl.
2019-05-28 12:25:21 +03:00
97ad45125d
MXS-2481 Add simple Clustrix test
2019-05-28 12:25:21 +03:00
b837e24995
MXS-2481 Add MaxCtrl class to test framework
...
The purpose of this class is to make it easy from a test program
to access the output of the REST-API. Currently it provides only
the equivalent of "maxctrl list servers", but it can be extended
if and when additional needs arise.
Right now it's implemented so that curl is executed on the 0th
MaxScale instance, using the ssh mechanism of the test framework.
2019-05-28 12:25:21 +03:00
0f1e964192
Merge branch '2.3' into develop
2019-05-28 11:15:46 +03:00
4d3d6e9d06
MXS-2479 Extend pam authenticator test to use a customized pam service
...
The test now covers additional messages being sent by the pam api.
2019-05-28 11:04:53 +03:00
f79e8b108c
Log end of bug601 verbosely
...
The test appears to fail to connect to MaxScale due to unavailability of
connections. Theoretically, the improvement in accept speed due to
SO_REUSEPORT additions could explain the faster exhaustion of available
sockets.
2019-05-24 10:05:16 +03:00
e72abe3643
Fix object names in mxs2450_change_user_crash
2019-05-24 10:05:16 +03:00
9d80b42dc6
Fix mxs2300_history_pruning config
...
Names with whitespace are no longer supported.
2019-05-24 10:05:16 +03:00
c57764a84f
Fix no_password
...
The test used freed memory.
2019-05-24 10:05:16 +03:00
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