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:
parent
ffecce4153
commit
a3e9ce651f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user