Add timeout to mxs1929_service_runtime
Some of the commands appear to be hanging.
This commit is contained in:
@ -20,6 +20,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
auto maxctrl = [&](string cmd, bool print = true)
|
auto maxctrl = [&](string cmd, bool print = true)
|
||||||
{
|
{
|
||||||
|
test.set_timeout(60);
|
||||||
auto rv = test.maxscales->ssh_output("maxctrl " + cmd);
|
auto rv = test.maxscales->ssh_output("maxctrl " + cmd);
|
||||||
|
|
||||||
if (rv.first != 0 && print)
|
if (rv.first != 0 && print)
|
||||||
|
Reference in New Issue
Block a user