93e2aaeaf5
MXS-3031 Ensure backend ssl tests clean up after themselves
...
Presumably Mariadb_nodes::disable_ssl() should do that, but it
does not. So for the time being we create the default user anew.
2020-07-08 09:32:07 +03:00
9955f00bf5
MXS-3031 Add function for resetting users
...
With this function, a test that changes the default test users
on a node can reset the situation.
2020-07-08 09:31:42 +03:00
637bc6ff6d
Silence test errors about missing cores
...
`cp` and `ls` complain if the files do not exist, using `test` is more
appropriate to test whether the files exist.
2020-07-02 06:26:35 +03:00
1756857f5d
Fix galera initialization with 10.4
...
For whatever reason, galera complains on startup about
wsrep_cluster_address missing even when mysql_install_db is run. By making
sure that we configure it before we initialize the database, the problems
seem to go away.
2020-07-01 15:15:15 +03:00
aa11c960b1
2.3.20 Update change date
2020-06-05 09:31:45 +03:00
5380bd65f1
Detect dropped system tables
...
If a test breaks the system by dropping a system database, the replication
check wouldn't detect it.
2020-06-03 10:39:36 +03:00
0907e0f0e5
Add BACKEND_SSL VM type
...
This is needed by tests that use add_test_executable_ex and require
backend SSL. Also fixed a problem in disable_ssl where an empty query was
executed instead of the query itself.
2020-05-27 14:06:51 +03:00
481f6f1aea
Add missing operator=(Connection&&)
...
The move assignment should also be defined if the move construction is
defined.
2020-05-13 13:43:58 +03:00
f527a8f2e6
2.3.19 Update Change Date
2020-04-23 14:23:57 +03:00
f549d95793
MXS-2900 maxtest header cleanup
2020-04-11 22:10:35 +03:00
03726a5f25
MXS-2900 Rename maxtest files
...
Many of the headers were not renamed to avoid changing every test.
2020-04-10 20:50:28 +03:00
983b8247dd
MXS-2900 Cleanup environment variable management
2020-04-07 11:29:50 +03:00
071501ea1f
MXS-2900 Run uncrustify on testconnections.cpp
...
Also some other minor cleanup.
2020-04-02 11:52:02 +03:00
5ed99b2f5b
MXS-2900 Move more TestConnection fields to private
2020-04-02 11:51:36 +03:00
a3e358f29b
MXS-2900 Cleanup test labels handling
...
The labels are stored in sets for easy searching.
2020-04-01 21:28:03 +03:00
c6a9c8bb0f
MXS-2900 Cleanup system test information generation
...
The system test information array now has the full path to the MaxScale
configuration file. The array now only contains labels given in
CMakeLists.txt. The resulting .cc-file has linebreaks for readability.
2020-03-31 13:38:45 +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
480c57c122
MXS-2900 Move more TestConnections fields to private
2020-03-30 10:28:12 +03: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
e7b8aca605
Stop MaxScale after tests
...
This allows crashes on exit to be detected.
2020-03-16 15:08:52 +02:00
e0cd6adb26
Update change date for 2.3.18
2020-03-10 10:45:47 +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