Commit 572831f
committed
async_insert_race_long flakiness fixes
1. Make the test truly asynchronous.
The setting `--async_insert_max_data_size 1` leads to data
being flushed synchronously for all inserts in this test.
This triggers part creation and extra resource consumption.
2. Do not run the `--wait_for_async_insert` query as a background process
with a fixed (50ms) sleep time.
If the actual execution time is longer than the anticipated delay
time, it may lead to excessive process creation.1 parent f947f91 commit 572831f
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
| |||
0 commit comments