From a3e9ce651f4d578b0d365c53345e7929439ffa09 Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Wed, 15 May 2019 11:19:31 +0300 Subject: [PATCH] Add 'maxscale --version-full' command to call_mdbci() Previously Maxscale version check was in the 'check_backend', but this was removed from the tests execution process. Now 'maxscale --version-full' is added to nodes creation function - to call_mdbci() --- maxscale-system-test/testconnections.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/maxscale-system-test/testconnections.cpp b/maxscale-system-test/testconnections.cpp index a482918bf..8530274ed 100644 --- a/maxscale-system-test/testconnections.cpp +++ b/maxscale-system-test/testconnections.cpp @@ -2122,6 +2122,16 @@ int TestConnections::call_mdbci(const char * options) { maxscales->read_basic_env(); } + int ec; + char * ver = maxscales->ssh_node_output(0, "maxscale --version-full", false, &ec); + if (ec) + { + tprintf("Error retrival of Maxscale version info"); + } + else + { + tprintf("Maxscale_full_version_start:\n%s\nMaxscale_full_version_end\n", ver); + } return 0; }