Add tests with big backend
Basic tests can be executed with 15 machines Master/slave backend. Tests have label BIG_REPL_BACKEND Default template modified to support big backend. Tests temporaraly labeled as UNSTABLE to prevent their execution nightly For big test maxscale.cnf is automatically generated for any number of nodes
This commit is contained in:
@ -10,7 +10,6 @@ int main(int argc, char** argv)
|
||||
{
|
||||
MYSQL* mysql[1000];
|
||||
TestConnections* Test = new TestConnections(argc, argv);
|
||||
Test->repl->limit_nodes(4);
|
||||
|
||||
Test->repl->execute_query_all_nodes((char*) "set global max_connections = 10;");
|
||||
|
||||
@ -34,7 +33,7 @@ int main(int argc, char** argv)
|
||||
|
||||
// Wait for the connections to clean up
|
||||
Test->stop_timeout();
|
||||
sleep(5);
|
||||
sleep(2 * Test->repl->N);
|
||||
|
||||
Test->check_maxscale_alive(0);
|
||||
int rval = Test->global_result;
|
||||
|
||||
Reference in New Issue
Block a user