add proper timeouts to different_size_* tests

This commit is contained in:
Timofey Turenko
2018-09-17 16:41:11 +03:00
parent 85d2655a51
commit af2546a3bd
2 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ void different_packet_size(TestConnections* Test, bool binlog)
Test->tprintf("Restoring max_allowed_packet");
set_max_packet(Test, binlog, (char *) "set global max_allowed_packet = 1048576;");
Test->set_timeout(300);
conn = connect_to_serv(Test, binlog);
Test->try_query(conn, "DROP TABLE test.large_event");
mysql_close(conn);

View File

@ -19,6 +19,7 @@ int main(int argc, char *argv[])
different_packet_size(Test, false);
Test->set_timeout(180);
Test->repl->sync_slaves();
Test->check_maxscale_alive(0);
int rval = Test->global_result;