c7f6755949
Update merged test configurations
...
The passwd parameter caused problems now that it has been removed.
2018-07-17 11:52:19 +03:00
4162116109
Remove router_options from readwritesplit tests
...
The router_options parameter is no longer accepted by readwritesplit.
2018-07-17 11:52:16 +03:00
dd8402dd94
Update binlogrouter test configurations
...
Updated the binlogrouter test configurations to use correct options. Also
removed commented out sections and obsolete configurations.
2018-07-17 11:52:15 +03:00
d51a21faf7
Remove passwd from test configurations
...
As the parameter will be removed in 2.3, the test configurations need to
be updated.
2018-07-17 11:52:14 +03:00
e2fb0093b1
Merge branch '2.2' into develop
2018-07-12 19:38:40 +03:00
151c7e19f4
Add schemarouter reconfiguration test
...
Extended the alter_router test to check that modifications to schemarouter
are processed correctly.
2018-07-11 14:08:53 +03:00
40d076b4ce
MXS-1849 Fix broken test to work with new schemarouter
2018-07-09 12:00:40 +03:00
89e83fab4b
MXS-1849 Add basic test case
2018-07-09 11:55:54 +03:00
4a215b9ca2
MXS-1961: Add test case
...
Added a test case that reproduces the problem.
2018-07-07 09:28:50 +03:00
2e88ce4132
Merge branch '2.2' into develop
2018-07-04 22:01:01 +03:00
88431f14d7
Fix cache_basic configuration
...
The test requires the old default values.
2018-07-04 13:51:10 +03:00
0911c664b1
MXS-1549: Add basic test case
...
Added a basic test case that checks that the functionality works as
expected.
2018-07-02 13:29:19 +03:00
dc4a555c70
Merge branch '2.2' into develop
2018-06-28 10:34:41 +03:00
a6182d48bf
MXS-1643: Only test existence of extra events mxs1643_extra_events
...
Don't test failover functionality when it is not needed. The bug is only
about the extra events that appear when a master is demoted and a slave is
promoted.
2018-06-27 10:49:32 +03:00
b96228f95c
Merge branch '2.2' into develop
2018-06-22 10:44:39 +03:00
8a526bf84f
MXS-1926: Add test case
...
Added a test case that reproduces the problem and verifies that it is
solved.
2018-06-21 15:12:12 +03:00
0f187807c1
MXS-421 Add system test
2018-06-18 11:32:50 +03:00
0d73530ff3
Merge branch '2.2' into develop
2018-06-08 11:30:55 +03:00
d0feff5eb3
Wait for a number of monitor intervals in tests
...
The tests can now wait for a number of monitor intervals. This removes the
need to have hard-coded sleeps in the code and makes monitor tests more
robust under heavier load.
2018-06-08 07:45:18 +03:00
238a00f29d
Set mysqlmon timeouts to 10 seconds
...
The backend timeouts should help prevent disconnections.
2018-06-08 07:45:18 +03:00
a5377212a6
MXS-1507: Add transaction replay stress test
...
The test performs transactions while the master server is stopped and
started.
2018-06-04 19:26:36 +03:00
74cc74ed66
Remove MySQL 5.1 support from tests
...
Removed the configuration parameter template and the code that uses it.
2018-06-04 19:26:36 +03:00
2ed631ab63
Merge branch '2.2' into develop
2018-06-01 13:46:03 +03:00
a319c5ad19
MXS-1889 Add test
...
If all slaves are down, a connection should be created to the
master.
2018-06-01 11:00:13 +03:00
2a76a36505
MXS-1778: Add missing test config
...
The test for the causal reads did not have the configuration file for it.
2018-05-28 10:32:17 +03:00
3cd162e1da
Update avrorouter test configurations
...
The router_options was deprecated in 2.2 and is now removed in 2.3. This
means that test configuration files must be updated as well.
2018-05-28 10:32:15 +03:00
f62d155036
MXS-173 Test for throttling filter
...
The test may fail if the client/maxscale/mariadb combo is too slow.
TODO, maybe: today I saw mysql_query() hang (in a poll) when maxscale
disconnected. Is there something that can be done about that?
I added a source directory, base, for stuff that should become part of a common
utility library in the future.
2018-05-25 14:51:36 +03:00
051ed76d73
Merge branch '2.2' into develop
2018-05-17 11:23:03 +03:00
4309d9b3a5
Change mxs1836_show_eventTimes port from 9003 to 4006
...
Port 9003 is not open by default in the test environment. Changing it to
port 4006, which is open, will work around this restriction.
Also added the mysql_error output to the error message when the querying
fails.
2018-05-17 09:50:37 +03:00
95815df1db
Merge branch '2.2' into develop
2018-05-16 11:46:45 +03:00
84ac115af8
MXS-1760: Add use_sql_variables_in test case
...
The test checks that both text protocol and binary protocol statements
produce the correct result.
2018-05-16 11:13:36 +03:00
7e9062f20f
Merge branch '2.2' into develop
2018-05-16 09:31:13 +03:00
5ed5d98bcd
MXS-1836 Add test that catches regression
2018-05-15 14:45:42 +03:00
d8d2fbe4c5
MXS-1507: Test transaction limits
...
The test cases check that the size limit works and that following
transactions work.
2018-04-26 13:44:27 +03:00
cffed86962
MXS-1507: Add basic functional test
...
Added functional tests that cover the basic cases.
2018-04-26 13:44:26 +03:00
5cb4c9dd97
Merge branch '2.2' into develop
2018-04-17 09:36:40 +03:00
890902e338
Add maxinfo SQL interface test
...
Added a test for the maxinfo SQL interface.
2018-04-17 09:34:11 +03:00
553e159182
MXS-1503: Test that no extra slaves are taken into use
...
Added a test that verifies that the slave connection count restrictions
work.
2018-04-12 10:42:39 +03:00
eafdd61888
MXS-1506: Test interrupted SELECTs
...
Expanded the test to cover interrupted SELECT statements.
2018-04-10 15:32:24 +03:00
93f589ffa2
MXS-1506: Add test case
...
Added a test case that performs basic testing of the functionality.
2018-04-10 15:32:23 +03:00
304499bd36
Merge branch '2.2' into develop
2018-04-10 14:05:39 +03:00
4f8e1a99fc
MXS-1743: Add test case
...
Added test case that reproduces the problem.
2018-04-04 19:43:46 +03:00
876187b340
MXS-1503: Enable master reconnection
...
The `master_reconnection` parameter now controls both the reconnection of
the master server as well as the migration of the master server to another
server. Although these two cases appear to be different, the end result
from readwritesplit's point of view is the same and are thus controlled
with the same parameter.
The RWBackend class now resets its internal state when it is closed. This
allows readwritesplit to handle the case when a result was expected from
the master but the master died before the result was returned. The same
code should also handle slave connection failures mid-result, allowing
Backend reuse.
Added a test case that verifies the new functionality when combined with
`master_failure_mode=error_on_write`.
2018-04-03 13:30:51 +03:00
481db8acbc
MXS-359: Rename parameter to master_reconnection
...
Changing the parameter name to `master_reconnection` allows similar
reconnection functionality to be combined under one parameter.
2018-04-03 13:30:51 +03:00
9f256f50eb
Merge branch '2.2' into develop
2018-04-03 11:01:06 +03:00
9291815bcd
Wait for monitor to start in mxs1719
...
The test starts MaxScale and immediately connects to it. As the monitoring
is asynchronous, we need to give it a few seconds to stabilize.
2018-04-03 10:59:55 +03:00
4167e88719
MXS-1751: Fix crash with available_when_donor=true
...
The `MYSQL_ROW row` variable was being overwritten by the extra query done
by the SST method detection code. Moving it into its own function prevents
this and makes the code significantly easier to comprehend.
Added a test case that reproduced the problem (MaxScale crashed) and
verifies that the patch fixes the problem.
2018-03-31 20:21:07 +03:00
433528aa59
MXS-1731: Treat empty parameters as errors
...
If a parameter is defined without a value, it is now treated as an error.
2018-03-21 14:58:09 +02:00
552c33e14d
MXS-1719 Add test that reveals problem
...
With the masking filter, several UPDATEs as one multi-statement
causes the session to hang.
2018-03-21 14:58:09 +02:00
8b943e249b
MXS-1731: Treat empty parameters as errors
...
If a parameter is defined without a value, it is now treated as an error.
2018-03-21 14:14:13 +02:00