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:
Timofey Turenko
2019-04-18 09:48:39 +03:00
parent 802a19879b
commit ddf9002e86
16 changed files with 215 additions and 176 deletions

View File

@ -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;