From 93e2aaeaf5fd1683393096b8006fe9693d6dd2e9 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Thu, 25 Jun 2020 15:23:09 +0300 Subject: [PATCH] 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. --- maxscale-system-test/maxtest/src/testconnections.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maxscale-system-test/maxtest/src/testconnections.cc b/maxscale-system-test/maxtest/src/testconnections.cc index 6b236e8b2..991732578 100644 --- a/maxscale-system-test/maxtest/src/testconnections.cc +++ b/maxscale-system-test/maxtest/src/testconnections.cc @@ -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