From 268b684c0195201c586a225b9076ad2f1c454de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 10 Jul 2020 09:47:49 +0300 Subject: [PATCH] Fix mxs2167_extra_port The test only used legacy startup syntax. --- maxscale-system-test/mxs2167_extra_port.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maxscale-system-test/mxs2167_extra_port.cpp b/maxscale-system-test/mxs2167_extra_port.cpp index f2e78bb9b..5b9a41d2e 100644 --- a/maxscale-system-test/mxs2167_extra_port.cpp +++ b/maxscale-system-test/mxs2167_extra_port.cpp @@ -50,7 +50,7 @@ int main(int argc, char** argv) test.repl->stash_server_settings(i); test.repl->add_server_setting(i, extra_port_sett.c_str()); test.repl->add_server_setting(i, "extra_max_connections=5"); - test.repl->ssh_node_f(i, true, "service mysql restart"); + test.repl->ssh_node_f(i, true, "systemctl restart mariadb || service mariadb restart"); // Test a direct connection to the server through the extra port, it should work. auto conn = open_conn_db_timeout(extra_port, test.repl->ip(i), "", user, pw, 4, false); @@ -189,7 +189,7 @@ int main(int argc, char** argv) test.repl->ssh_node_f(i, true, "%s", iptables_remove_cmd.c_str()); test.repl->restore_server_settings(i); - test.repl->ssh_node_f(i, true, "service mysql restart"); + test.repl->ssh_node_f(i, true, "systemctl restart mariadb || service mariadb restart"); } return test.global_result; }