Added an extra 'sleep' for first section of 'mysql-mirror1' test to avoid timing issues

pull/3658/head
Javier Jaramago Fernández 5 years ago
parent 03aee7dd85
commit b071f191f7

@ -127,6 +127,8 @@ int main(int argc, char** argv) {
}
int rows_read = 0;
sleep(1); // some INSERT may still be running
// at this point the table sbtest should have 600 rows:
// 300 rows from normal insert, and 100 rows from mirror
rc = run_q(conns[0], "SELECT * FROM test.sbtest1");

Loading…
Cancel
Save