fix flaky test 03734_async_insert_two_db#94548
Conversation
|
No sleeps please. It was intentionally to not wait inserts and flush them with The issue here that some inserts are flushed by timeout and processed out of the scope flush command. So, make this
|
Sure, fixed. |
|
Wonderful, all checks are green! |
In this test we do async inserts (
async_insert) and don't wait for them (wait_for_async_insert). We later attempt to flush the async insert queue and then do a select count() from the tables. I suspect that sometimes there might be a slight delay for all the inserts to be properly queued. So, when the insert queue is flushed, it might not return expected results resulting in the test being flaky (from cidb).Also renames file to fix typo.
Closes: #93448
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes