f6840fbded
Remove implicit initialization of all maxscales
...
The extra maxscale instances are only started if the test explicitly
requests it.
2018-09-12 22:09:38 +03:00
077f344a20
MXS-2037 Add test case
2018-09-12 20:59:47 +03:00
c878146c24
MXS-1947: Add test case
...
The test checks that composite roles work.
2018-09-10 21:47:47 +03:00
73405c8ff9
Stabilize bug676
...
The test should now be stabler as it waits for a monitor interval instead
of a set amount of seconds.
2018-09-10 15:01:29 +03:00
6279ab350c
Rename TestConnections::assert() to TestConnections::expect()
...
Allows the including of <assert.h>.
2018-09-10 10:24:46 +03:00
b99390f3e0
install Maxscale on all VMs in run_test_snapshot
2018-09-03 16:35:43 +03:00
b2fea99dbc
Fix set_env.sh
...
The -gt operator should be used to compared numbers.
2018-08-31 12:12:11 +03:00
19a84569fe
add compatibility with one Maxscale template to set_env.sh
2018-08-30 14:26:19 +03:00
39016c410c
use different hostname for second Maxscale VM
2018-08-29 12:00:52 +03:00
4fd6d075cb
doc and astyle fixes
2018-08-29 12:00:52 +03:00
0ce183d7e3
stop monitor for all Maxscales in rw_slect_insert_test
2018-08-29 12:00:52 +03:00
4887bce398
use different way to get own IP in keepalive tests
2018-08-29 12:00:52 +03:00
7e5353dae8
copy maxscale_000_XX to maxscale_XX variables in set_env.sh
2018-08-29 12:00:52 +03:00
f4317121e1
fix galera nodes in twomaxscales_full template
2018-08-29 12:00:52 +03:00
90ca096bc8
add twomaxscales_full template
2018-08-29 12:00:52 +03:00
51ade9e6fe
Wait two monitor intervals in failover tests
...
Since the failover always takes two intervals, the test also needs to wait
two intervals.
2018-08-28 08:39:38 +03:00
ab507ebfe9
Add missing timeouts to mxs1743_rconn_bitmask
...
Also did some minor cleanup.
2018-08-14 09:33:39 +03:00
7394f03cd9
Exit with failure if coredump is found in destructor
...
If the test would otherwise succeed but a coredump is found when the logs
are copied in the destructor, the test would pass. To prevent this, the
destructor should always exit with a non-zero status when it detects an
error.
2018-08-07 22:14:33 +03:00
a91b054eb4
Fix out-of-source runs of mxs791_galera.sh
...
The test used the current directory instead of the source directory where
the script was located.
2018-07-31 22:53:10 +03:00
d501606399
Add clarification to mailing list email
...
The email should be sent after the binaries are visible and the KB has
been updated.
2018-07-27 20:03:48 +03:00
fc672dc56e
Update release documentation
...
Removed old and meanlingless parts from emails, added symlink creation.
2018-07-27 19:32:47 +03:00
d59917673d
do not generate repo.d in run_test
2018-07-27 14:58:29 +03:00
27e668a3cb
Set test timeout to 900 seconds
...
Any test that takes longer than 15 minutes to run is too long and should
explicitly set a longer timeout.
2018-07-26 16:32:46 +03:00
e2a913013a
Update release procedure documentation
...
The documentation contents and upgrading documents no longer has a link to
the release notes.
2018-07-25 00:11:57 +03:00
37f32464f2
Rewrite mxs564_big_dump
...
Streamlined the test to perform as much testing as fast as possible. The
gradual ramp up did not provide any concrete benefits compared to testing
everything at once.
Replaced structures with C++11 alternatives where possible and removed
unused, redundant or dead code.
2018-07-24 09:51:47 +03:00
ee6e2b28b2
MXS-1985: Add concurrent KILL test case
...
The test case runs parallel KILL queries and reproduces the problem.
2018-07-24 09:51:35 +03:00
b5584e3fd0
Backport test utility functions
...
The resultset processing functions are helpful in writing tests that
process resultsets.
2018-07-24 09:51:35 +03:00
222aa9c277
Expect mxs1958_insert_priv to fail
...
The test should fail as it hasn't been fixed yet.
2018-07-09 15:29:13 +03:00
4a215b9ca2
MXS-1961: Add test case
...
Added a test case that reproduces the problem.
2018-07-07 09:28:50 +03:00
cb05199bac
Stop MaxScale before fixing replication
...
Before the state of the backend servers is checked, MaxScale needs to be
stopped to prevent the automated failover from interfering in the start-up
process.
2018-07-05 21:03:57 +03:00
5c610503ba
MXS-1949: Add test case
...
Added a test case that verifies the bug is fixed.
2018-07-05 13:47:08 +03:00
bbf3909296
MXS-1958: Add test case
...
The test case verifies that the problem exists.
2018-07-05 12:01:38 +03:00
d301109b1a
Update release document
...
Use more precise git commands for pushing a single tag.
2018-07-05 12:01:38 +03:00
6b9ae5b220
Fix bug626
...
Removed the excessive comments in favor of a simplified description. Use
stack-allocated TestConnections and simplify assertions.
The main change is the different SQL used to update the user with the old
password. Direct modification of the `mysql`.`user` database isn't very
neat but it guarantees that the value is updated.
2018-07-04 15:41:17 +03:00
d98ffb5d0a
Always stop MaxScale before test
...
The test should stop MaxScale at the start unless the manual debug flag is
given on the command line. This fixes the connection failure of mxs1719
but reveals a problem with the filter itself.
2018-07-04 13:51:10 +03:00
88431f14d7
Fix cache_basic configuration
...
The test requires the old default values.
2018-07-04 13:51:10 +03:00
a1ab09a79f
Reduce test verbosity
...
When a test is checking the status of the nodes, the output is relatively
verbose.
Also changed dropping of users to use the IF EXISTS syntax. This will
remove the errors if the users do not exist.
2018-07-03 02:08:25 +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
b7fdaf0340
Use wait_for_monitor in mxs1643_extra_events
...
Replace hard-coded sleeps in mxs1643_extra_events with
Maxscales::wait_for_monitor.
2018-06-27 08:49:55 +03:00
c70cc61132
Remove unused code in mysqlmon_failover_rejoin_old_slave
...
The sleep function is no longer used.
2018-06-22 10:37:11 +03:00
bb67c4fb8f
Remove unused test
...
The test was not used.
2018-06-22 10:37:11 +03:00
9f2a4c4368
Request GTID in mysqlmon_failover_rejoin_old_slave
...
The test won't otherwise work as the failover is not done without it.
2018-06-22 10:37:11 +03:00
c49b6ada7d
MXS-1932: Make it clear what is being tested
...
The test was not very clear about what it does. Added comments to clarify
what is done and why. Also fixed a typo.
2018-06-21 15:17:10 +03:00
d22a62c0ff
Use sleeps and waits with mxs1719
...
Going the belt-and-suspenders way of both sleeping and waiting for the
moitor should make sure MaxScale has at least some time to start up, query
the servers and do a single iteration of monitoring.
2018-06-21 15:12:12 +03:00
d9cc65cca7
Enable mxs1824_double_cursor in 2.2
...
The test apparently started working when 10.3 was set as the default
backend.
2018-06-21 15:12:12 +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
7a0a6c3af1
MXS-1932: Add test case
...
Added test case that reproduces the problem and verifies that it is fixed.
2018-06-20 14:41:56 +03:00
bf4673d3f7
MXS-872: Add role test case
...
The test case checks whether roles work via MaxScale.
2018-06-19 12:51:55 +03:00
45f39e7fdd
Wait for monitor in mxs1719
...
Replaced hard-coded sleep with dynamic waiting.
2018-06-18 14:10:27 +03:00
24bb8b0b2c
Clean up mxs548_short_session_change_user
...
The test unnecessarily did an unconditional drop of the user resulting in
errors. Also prevented stopping of MaxScale if it wasn't started in the
first place.
2018-06-18 11:32:28 +03:00