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()
This commit is contained in:
Timofey Turenko 2019-05-15 11:19:31 +03:00
parent ffecce4153
commit a3e9ce651f

View File

@ -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;
}