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:
@ -19,7 +19,7 @@ int main(int argc, char* argv[])
|
||||
Test->set_timeout(10);
|
||||
Test->maxscales->connect_maxscale(0);
|
||||
|
||||
Test->check_log_err(0, (char*) "Multiple monitors are monitoring server", true);
|
||||
Test->log_includes(0, "Multiple monitors are monitoring server");
|
||||
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
|
||||
Reference in New Issue
Block a user