From 124e2526818636f45ad1d7439d3e2dc4abf4ce84 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Fri, 27 Aug 2021 09:39:08 +0300 Subject: [PATCH] Avoid 01158_zookeeper_log depends on cleanup_delay_period Like in [1]. [1]: https://clickhouse-test-reports.s3.yandex.net/28212/a63ef6b8eb9d259b0dbb655ae2a9cba525db87e8/functional_stateless_tests_flaky_check_(address).html#fail1 --- tests/queries/0_stateless/01158_zookeeper_log.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/01158_zookeeper_log.sql b/tests/queries/0_stateless/01158_zookeeper_log.sql index 608dd8294de..8f4a9f04f9b 100644 --- a/tests/queries/0_stateless/01158_zookeeper_log.sql +++ b/tests/queries/0_stateless/01158_zookeeper_log.sql @@ -1,5 +1,7 @@ drop table if exists rmt; -create table rmt (n int) engine=ReplicatedMergeTree('/test/01158/{database}/rmt', '1') order by n; +-- cleanup code will perform extra Exists +-- (so the .reference will not match) +create table rmt (n int) engine=ReplicatedMergeTree('/test/01158/{database}/rmt', '1') order by n settings cleanup_delay_period=86400; system sync replica rmt; insert into rmt values (1); insert into rmt values (1);