dad4f55ee6
Save output of mysqlmon tests
...
Before the tests truncate the log, it can be copied to a backup file. This
allows the whole log to be inspected after the test is complete.
2018-10-02 09:44:02 +03:00
3fd0c2c407
Stop timeout during slave sync
2018-10-02 09:44:01 +03:00
7b5985d6be
Add missing connect to mxs682_cyrillic
...
The connections were used without connecting.
2018-10-02 09:44:01 +03:00
c7fc00b3d8
Shorten mxs812_1
...
Three iterations should be adequate for most cases.
2018-10-02 09:44:01 +03:00
ee45900648
Remove network variable export file after use
...
Otherwise the file is left in the current working directory.
2018-10-02 09:44:00 +03:00
5b644a785b
Refactor mxs682_cyrillic
...
Use stack allocated objects and do general cleanup. Increased timeouts to
be a bit more forgiving.
2018-09-28 09:24:48 +03:00
afd3eae65b
Add more output to mxs1743_rconn_bitmask
...
The test times out but it doesn't tell where it times out.
2018-09-28 09:15:02 +03:00
6e380d541b
MXS-2043 Add system test
2018-09-27 10:17:47 +03:00
1a41f1a8e2
Add more timeouts to mxs1743_rconn_bitmask
...
The test timed out on a few test runs which means that there is a problem
in the areas where timeouts weren't present.
2018-09-26 11:08:12 +03:00
8a3376767a
use different server id for Galera test nodes
2018-09-19 15:03:48 +03:00
af2546a3bd
add proper timeouts to different_size_* tests
2018-09-17 16:41:11 +03:00
5e6abe71f1
Fix local_address
...
The test did not create a grant for the gateway IP address where the
client was connecting from.
2018-09-13 15:36:31 +03:00
ce602daf10
Enable log_info for bug664
2018-09-13 13:14:28 +03:00
b3d6e49061
Shorten mysqlmon_failover_stress
...
The test fails since slaves are constantly going out-of-sync and cannot rejoin
the cluster. After three failovers, the cluster has three standalone server and
the monitor gets confused which server is the master. For now, limit the test to
two failovers.
2018-09-13 11:33:19 +03:00
d65d815b99
Add format attribute to test functions, fix resulting errors
...
Fixes mysqlmon_failover_stress.
2018-09-13 11:33:19 +03:00
e1f2b81734
Wait for monitor in bug547
...
The test expects the monitor to respond within 5 seconds. This is not
guaranteed to happen so waiting for a monitor interval instead of a
hard-coded duration provides for a more stable test.
2018-09-12 22:09:51 +03:00
b3e2bf58d9
Wait two monitor intervals in mysqlmon_failover_auto
...
The master failover require two monitor intervals to complete.
2018-09-12 22:09:51 +03:00
6f5d089131
Use expect in mxs1947_composite_roles
...
`assert` was renamed to `expect`.
2018-09-12 22:09:38 +03:00
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