Commit Graph

1273 Commits

Author SHA1 Message Date
3441497079 Merge branch '2.3' into 2.4 2020-03-31 12:15:42 +03:00
d69e519038 MXS-2900 MXS-2900 Clean up TestConnection string handling
Now uses std::string for several fields.
2020-03-30 15:37:53 +03:00
4ff703910f Merge branch '2.3' into 2.4 2020-03-30 11:31:26 +03:00
480c57c122 MXS-2900 Move more TestConnections fields to private 2020-03-30 10:28:12 +03:00
f101ff642f Merge branch '2.3' into 2.4 2020-03-27 20:34:23 +02:00
af593262f9 Merge branch '2.3' into 2.4 2020-03-25 11:09:41 +02:00
3d7ee2e8cd MXS-2900 Clean up test config file and label handling 2020-03-24 14:14:20 +02:00
36244e9c7b MXS-2900 Move test description array to a .cc-file
The array is now compiled into the maxtest-library.
Also cleaned up the array handling a bit.
2020-03-24 11:33:59 +02:00
89a8d6ace5 Use bigger VMs for system tests 2020-03-23 16:16:07 +02:00
efe5bdfd9f Adopt run_test.sh for parallel test execution from BuildBot 2020-03-23 16:15:25 +02:00
80a8fd55be Merge branch '2.3' into 2.4 2020-03-19 15:13:19 +02:00
b98b8f9d4a MXS-2939: Fix reconnection with session commands
Session commands did not trigger a reconnection process which caused
sessions to be closed in cases where recovery was possible.

Added a test case that verifies the patch fixes the problem.
2020-03-19 15:12:31 +02:00
05f71424e8 Fix masking_user test in 2.4
The very same user was used in both test-runs. How this could
ever have worked is a mystery to me.
2020-03-17 11:52:17 +02:00
5121aa296e Add timeout to rwsplit_readonly_stress
This prevents the test from hanging.
2020-03-16 15:09:41 +02:00
e7b8aca605 Stop MaxScale after tests
This allows crashes on exit to be detected.
2020-03-16 15:08:52 +02:00
5217836e83 Update 2.4.8 Change Date
Same as that of 2.3.17. Consequently, only the 2.4 specific files
are updated.
2020-03-16 11:25:59 +02:00
d0ab797938 Merge branch '2.3' into 2.4 2020-03-12 10:33:57 +02:00
8e477b1650 Fix masking_user test
The test didn't exit with the return value of mysqltest.
2020-03-10 14:25:57 +02:00
e0cd6adb26 Update change date for 2.3.18 2020-03-10 10:45:47 +02:00
84f091987b Merge branch '2.3' into 2.4 2020-03-02 14:19:27 +02:00
96ba2da40c MXS-2900 Move testcore library files to a dedicated directory
The library is now named "maxtest". The related include-files are, for
now, usable without designating the full include path. This may be changed
later, but would require modifying every test.
2020-03-02 11:17:30 +02:00
9ca2c7f777 Merge branch '2.3' into 2.4 2020-02-24 14:10:19 +02:00
0614a44a4d Add monitor TLS test case
Added a test that verifies the server state is Down when the backend
doesn't support TLS.
2020-02-24 12:02:50 +02:00
f576680ed9 Update 2.4.7 change date
Only the files that were not already updated as part of the
2.3.17 release.
2020-02-12 15:21:44 +02:00
8b763fb88b Merge branch '2.3' into 2.4 2020-02-12 08:27:48 +02:00
cfb3f79b54 Update 2.3.17 Change Date 2020-02-10 15:28:38 +02:00
08e572b139 Merge branch '2.3' into 2.4 2020-01-28 12:28:19 +02:00
9262e14aed MXS-2851 Add test that reveals bug 2020-01-28 11:21:37 +02:00
36dee78cee MXS-2850 Add test that reveals bug 2020-01-28 11:02:19 +02:00
39da32dac7 Merge branch '2.3' into 2.4 2020-01-27 15:49:54 +02:00
08616692a4 Fixed tests to be compatible with GCloud VMs
GCloud machines has more strict access rights settings. Derect calls of
'chmod' are needed to make all configuration files (e.g. 'fwf/rules') be
accessable by Maxscale.
2020-01-24 13:47:26 +02:00
17916969b6 Merge branch '2.3' into 2.4 2020-01-24 09:48:05 +02:00
c04d6748d3 Fix debug assertion on inconsistent sescmd result
The slave backend would be closed twice if it would both respond with a
different result and be closed due to a hangup before the master
responded.

Added a test case that reproduced the problem.
2020-01-23 18:38:05 +02:00
b99c2b24b5 Merge remote-tracking branch 'origin/2.4' into 2.4.6 2020-01-23 14:50:03 +02:00
b46974f3e7 Fix Galera lib seach in mariadb_nodes.cpp 2020-01-23 14:49:18 +02:00
97c1578128 Fix Galera lib seach in mariadb_nodes.cpp 2020-01-23 14:45:24 +02:00
714dece7dd Update 2.4.6 Change Date
We use same as for 2.3.16.
2020-01-21 13:22:25 +02:00
2e50b9409a Add missing test labels
Some tests were missing a few labels.
2020-01-21 09:18:32 +02:00
f039d1b42d Fix mxs2512_trx_replay_rollback
The change in defaults caused the test to fail.
2020-01-17 14:28:49 +02:00
b6dc67f1b9 Improve cdc_client stability
It was possible that the query thread got stuck and never saw the updated
insert_val. Making the variable atomic as well as sleeping in between
queries should prevent it.
2020-01-17 09:21:21 +02:00
7b71716da7 Improve bug448 stability
By removing replication from the equation, the client IP check is more
stable. The get_client_ip function is only used by bug448 and could be
moved there.
2020-01-16 12:10:31 +02:00
3dda14a58e Reduce load of bug601 test
The test repeatedly creates connections which exhausts all the available
TCP connections. The test doesn't appear to test any specific
functionality with the repeated reconnections which means removing it
shouldn't be a problem.
2020-01-16 12:10:31 +02:00
a7e0142224 Merge branch '2.3' into 2.4 2020-01-15 11:29:37 +02:00
790d90f229 Update 2.3.16 Change Date 2020-01-15 11:08:51 +02:00
3ed30327e5 Merge branch '2.3' into 2.4 2020-01-14 10:10:58 +02:00
aeab1bdc7d Cherry-pick: Fall back to pkill in run_ctrl_c.sh
The pkill executable is provided by the same package that provides ps
which is why it is more likely to be installed. Seems that the test VMs
don't always have killall installed.

Run the MaxScale process with the maxscale user instead of the root user
to prevent any new files from being owned by a different user.

Cherry-picked the commit a06c122a5e050071589f724758d6bbd3d8d3f419 from
develop.
2020-01-13 17:12:05 +02:00
5fe97808e3 Merge branch '2.3' into 2.4 2019-12-20 11:44:11 +02:00
8de3339bc0 MXS-619: Restore old test
The test now performs the original test of not doing any queries between
the opening and closing of sessions.
2019-12-19 14:43:27 +02:00
a9a2b753c0 Update 2.4.5 change date 2019-12-18 13:25:03 +02:00
a2eafc2381 Merge test changes from 2.3 2019-12-16 20:01:35 +02:00