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
This commit is contained in:
Timofey Turenko
2019-04-15 14:35:24 +03:00
parent bd54efbb3f
commit eafb7ac5f1
23 changed files with 765 additions and 518 deletions

View File

@ -15,7 +15,7 @@ using namespace std;
int main(int argc, char* argv[])
{
TestConnections* Test = new TestConnections(argc, argv);
Test->set_timeout(100);
Test->set_timeout(25 * Test->repl->N);
Test->repl->connect();
const int TestConnNum = 100;
@ -26,8 +26,10 @@ int main(int argc, char* argv[])
Test->tprintf("Creating %d connections to ReadConnRouter in 'slave' mode\n", TestConnNum);
for (i = 0; i < TestConnNum; i++)
{
Test->set_timeout(10 * Test->repl->N);
conn[i] = Test->maxscales->open_readconn_slave_connection(0);
}
Test->set_timeout(25 * Test->repl->N);
Test->tprintf("Waiting 5 seconds\n");
sleep(5);