refactored tests (#147)
This commit is contained in:
@ -40,10 +40,10 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
TestConnections * Test = new TestConnections(argc, argv);
|
||||
Test->set_timeout(10);
|
||||
Test->check_log_err((char *) "Unsupported router option \"slave\"", true);
|
||||
Test->check_log_err((char *) "Failed to start all MaxScale services. Exiting", true);
|
||||
Test->check_log_err((char *) "Couldn't find suitable Master", false);
|
||||
//Test->check_maxscale_alive();
|
||||
Test->check_log_err(0, (char *) "Unsupported router option \"slave\"", true);
|
||||
Test->check_log_err(0, (char *) "Failed to start all MaxScale services. Exiting", true);
|
||||
Test->check_log_err(0, (char *) "Couldn't find suitable Master", false);
|
||||
//Test->check_maxscale_alive(0);
|
||||
Test->check_maxscale_processes(0);
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
|
Reference in New Issue
Block a user