Fix flaky 03014_async_with_dedup_part_log_rmt

This commit is contained in:
Antonio Andelic 2024-03-22 11:15:09 +01:00
parent 216dcbef2c
commit 409d2edba4

View File

@ -10,7 +10,7 @@ INSERT INTO 03014_async_with_dedup_part_log VALUES (2);
SYSTEM FLUSH LOGS;
SELECT error, count() FROM system.part_log
WHERE table = '03014_async_with_dedup_part_log' and database = currentDatabase()
WHERE table = '03014_async_with_dedup_part_log' AND database = currentDatabase() AND event_type = 'NewPart'
GROUP BY error
ORDER BY error;
@ -19,6 +19,6 @@ INSERT INTO 03014_async_with_dedup_part_log VALUES (2);
SYSTEM FLUSH LOGS;
SELECT error, count() FROM system.part_log
WHERE table = '03014_async_with_dedup_part_log' and database = currentDatabase()
WHERE table = '03014_async_with_dedup_part_log' AND database = currentDatabase() AND event_type = 'NewPart'
GROUP BY error
ORDER BY error;