refactored tests (#147)

This commit is contained in:
Timofey Turenko
2017-12-08 12:23:04 +02:00
committed by GitHub
parent c6daf8c26b
commit 3c88bf1ec6
253 changed files with 5265 additions and 3649 deletions

View File

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