mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2026-10-28 16:18:23 +08:00
The server sends the cancellation error to the client before it finalizes
the query and pushes the `system.query_log` entry, so the row could still be
missing when the test read it right after the client thread joined, making
`row.split("\t")` raise `ValueError: not enough values to unpack`. Flush and
re-read until the entry appears, and drop the `type` filter down to
"anything but `QueryStart`" so the CPU bound is checked whatever terminal
type the cancelled query is logged with.