Replace check_log_err with log_includes/log_excludes
The latter are more explicit and easier to understand at the call site. Also removed the redundant crash checks via the log files.
This commit is contained in:
@ -232,7 +232,7 @@ int main(int argc, char* argv[])
|
||||
sleep(15);
|
||||
|
||||
Test->tprintf("Cheching Maxscale logs");
|
||||
Test->check_log_err(0, (char*) "Cannot execute file", true);
|
||||
Test->log_includes(0, "Cannot execute file");
|
||||
|
||||
Test->tprintf("checking if Maxscale is alive");
|
||||
Test->check_maxscale_alive(0);
|
||||
|
||||
Reference in New Issue
Block a user