Increase timeouts for tests

bug507 and bug519 had relatively low timeouts which seem to be triggered
quite often.
This commit is contained in:
Markus Mäkelä
2017-09-16 06:52:37 +03:00
parent d00c5b2838
commit 3f0a738e08
2 changed files with 3 additions and 3 deletions

View File

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

View File

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