add proper timeouts to different_size_* tests
This commit is contained in:
@ -96,6 +96,7 @@ void different_packet_size(TestConnections* Test, bool binlog)
|
|||||||
Test->tprintf("Restoring max_allowed_packet");
|
Test->tprintf("Restoring max_allowed_packet");
|
||||||
set_max_packet(Test, binlog, (char *) "set global max_allowed_packet = 1048576;");
|
set_max_packet(Test, binlog, (char *) "set global max_allowed_packet = 1048576;");
|
||||||
|
|
||||||
|
Test->set_timeout(300);
|
||||||
conn = connect_to_serv(Test, binlog);
|
conn = connect_to_serv(Test, binlog);
|
||||||
Test->try_query(conn, "DROP TABLE test.large_event");
|
Test->try_query(conn, "DROP TABLE test.large_event");
|
||||||
mysql_close(conn);
|
mysql_close(conn);
|
||||||
|
|||||||
@ -19,6 +19,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
different_packet_size(Test, false);
|
different_packet_size(Test, false);
|
||||||
|
|
||||||
|
Test->set_timeout(180);
|
||||||
Test->repl->sync_slaves();
|
Test->repl->sync_slaves();
|
||||||
Test->check_maxscale_alive(0);
|
Test->check_maxscale_alive(0);
|
||||||
int rval = Test->global_result;
|
int rval = Test->global_result;
|
||||||
|
|||||||
Reference in New Issue
Block a user