Increase timeouts for tests
bug507 and bug519 had relatively low timeouts which seem to be triggered quite often.
This commit is contained in:
@ -65,7 +65,7 @@ const char * sel1 = "select last_insert_id(), @@server_id";
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
TestConnections * Test = new TestConnections(argc, argv);
|
TestConnections * Test = new TestConnections(argc, argv);
|
||||||
Test->set_timeout(10);
|
Test->set_timeout(60);
|
||||||
|
|
||||||
Test->repl->connect();
|
Test->repl->connect();
|
||||||
Test->connect_maxscale();
|
Test->connect_maxscale();
|
||||||
|
@ -74,7 +74,7 @@ int main(int argc, char *argv[])
|
|||||||
iterations = 1;
|
iterations = 1;
|
||||||
}
|
}
|
||||||
char str[1024];
|
char str[1024];
|
||||||
Test->set_timeout(10);
|
Test->set_timeout(60);
|
||||||
|
|
||||||
Test->connect_maxscale();
|
Test->connect_maxscale();
|
||||||
Test->repl->connect();
|
Test->repl->connect();
|
||||||
@ -120,7 +120,7 @@ int main(int argc, char *argv[])
|
|||||||
Test->stop_timeout();
|
Test->stop_timeout();
|
||||||
Test->repl->sync_slaves();
|
Test->repl->sync_slaves();
|
||||||
|
|
||||||
Test->set_timeout(100);
|
Test->set_timeout(200);
|
||||||
Test->tprintf("Create t1\n");
|
Test->tprintf("Create t1\n");
|
||||||
create_t1(Test->conn_rwsplit);
|
create_t1(Test->conn_rwsplit);
|
||||||
Test->tprintf("Loading data to t1 from file\n");
|
Test->tprintf("Loading data to t1 from file\n");
|
||||||
|
Reference in New Issue
Block a user