Increase timeouts for slave synchronization

It is possible that replication is severely lagging when slaves are being
synchronized. This means that a timeout of 120 seconds might not be
enough.
This commit is contained in:
Markus Mäkelä 2018-02-12 12:35:34 +02:00
parent eab4ec1768
commit d93907d6a8
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -134,7 +134,7 @@ void test_binlog(TestConnections* Test)
Test->add_result(insert_into_t1(Test->repl->nodes[0], 4), "Data inserting to t1 failed");
Test->stop_timeout();
Test->tprintf("Waiting for replication to catch up");
Test->set_timeout(120);
Test->set_timeout(500);
Test->repl->sync_slaves();
for (i = 0; i < Test->repl->N; i++)