ClickHouse/dbms/tests/queries/0_stateless/01019_Buffer_and_max_memory_usage.reference
Azat Khuzhin eae56e2d02 Fix 01019_Buffer_and_max_memory_usage flakiness
If within one INSERT the background worker will flush the buffer, then
it will steal the allocation, and if it will steal enough then
max_memory_usage for the INSERT query context could be exceeded.

Fix this by forcing the buffer flush from the query context.
2019-12-23 01:39:37 +03:00

2 lines
2 B
Plaintext