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.
This commit is contained in:
Johan Wikman
2020-06-25 15:23:09 +03:00
parent 9955f00bf5
commit 93e2aaeaf5

View File

@ -491,6 +491,11 @@ TestConnections::~TestConnections()
{
repl->disable_ssl();
// galera->disable_ssl();
// TODO: Presumably that repl->disable_ssl() call should remove the SSL requirement,
// TODO: but that it does not do as any non-SSL test folling will not work.
// TODO: Creating the users seems to fix it, so for the time being we do that.
repl->create_users();
}
// stop all Maxscales to detect crashes on exit