refactored tests (#147)
This commit is contained in:
@ -24,8 +24,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
test.tprintf("Check that there are no zombies");
|
||||
|
||||
int res = test.ssh_maxscale(false,
|
||||
"if [ \"`ps -ef|grep defunct|grep -v grep`\" != \"\" ]; then exit 1; fi");
|
||||
int res = test.maxscales->ssh_node(0,
|
||||
"if [ \"`ps -ef|grep defunct|grep -v grep`\" != \"\" ]; then exit 1; fi", false);
|
||||
test.add_result(res, "Zombie processes were found");
|
||||
|
||||
test.repl->unblock_node(0);
|
||||
|
Reference in New Issue
Block a user