Add tests from develop
Added tests from develop. The test results need to be modified for 2.0.
This commit is contained in:
26
maxscale-system-test/binlog_incompl.cpp
Normal file
26
maxscale-system-test/binlog_incompl.cpp
Normal file
@ -0,0 +1,26 @@
|
||||
/**
|
||||
* @file setup_incompl trying to start binlog setup with incomplete Maxscale.cnf
|
||||
* check for crash
|
||||
*/
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include "testconnections.h"
|
||||
#include "maxadmin_operations.h"
|
||||
#include "sql_t1.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
TestConnections * Test = new TestConnections(argc, argv);
|
||||
|
||||
Test->set_timeout(60);
|
||||
Test->connect_maxscale();
|
||||
Test->close_maxscale_connections();
|
||||
sleep(10);
|
||||
Test->check_log_err("fatal signal 11", false);
|
||||
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
return rval;
|
||||
}
|
||||
|
Reference in New Issue
Block a user