From d7d2d3349deab4a2e18e79cc236cc07f6cf8deb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 1 Feb 2018 11:47:25 +0200 Subject: [PATCH] Reset server configuration in check_backend By resetting the configuration in the check_backend test, the backend servers are guaranteed to use the correct configuration when started. --- maxscale-system-test/check_backend.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maxscale-system-test/check_backend.cpp b/maxscale-system-test/check_backend.cpp index e78cafbdc..f9a62372c 100644 --- a/maxscale-system-test/check_backend.cpp +++ b/maxscale-system-test/check_backend.cpp @@ -11,6 +11,9 @@ int main(int argc, char *argv[]) TestConnections * Test = new TestConnections(argc, argv); + // Reset server settings by replacing the config files + Test->repl->reset_server_settings(); + std::string src = std::string(test_dir) + "/mdbci/add_core_cnf.sh"; Test->maxscales->copy_to_node(0, src.c_str(), Test->maxscales->access_homedir[0]); Test->maxscales->ssh_node_f(0, true, "%s/add_core_cnf.sh %s", Test->maxscales->access_homedir[0],