From d6fc2dcd992404866cb2826d434996a2f6a43a01 Mon Sep 17 00:00:00 2001 From: alesapin Date: Thu, 24 Jun 2021 17:13:16 +0300 Subject: [PATCH] Ban test --- .../01921_concurrent_ttl_and_normal_merges_zookeeper_long.sh | 5 ++++- tests/queries/skip_list.json | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/01921_concurrent_ttl_and_normal_merges_zookeeper_long.sh b/tests/queries/0_stateless/01921_concurrent_ttl_and_normal_merges_zookeeper_long.sh index 7c7d58e1012..13086879e0d 100755 --- a/tests/queries/0_stateless/01921_concurrent_ttl_and_normal_merges_zookeeper_long.sh +++ b/tests/queries/0_stateless/01921_concurrent_ttl_and_normal_merges_zookeeper_long.sh @@ -59,8 +59,11 @@ timeout $TIMEOUT bash -c optimize_thread 2> /dev/null & wait +for i in $(seq 1 $NUM_REPLICAS); do + $CLICKHOUSE_CLIENT --query "SYSTEM SYNC REPLICA ttl_table$i" +done -$CLICKHOUSE_CLIENT --query "SELECT * FROM system.replication_queue where table like 'ttl_table%' and database = '${CLICKHOUSE_DATABASE}' and type='MERGE_PARTS' and last_exception like '%but should be merged into%' FORMAT Vertical" +$CLICKHOUSE_CLIENT --query "SELECT * FROM system.replication_queue where table like 'ttl_table%' and database = '${CLICKHOUSE_DATABASE}' and type='MERGE_PARTS' and last_exception != '' FORMAT Vertical" $CLICKHOUSE_CLIENT --query "SELECT COUNT() > 0 FROM system.part_log where table like 'ttl_table%' and database = '${CLICKHOUSE_DATABASE}'" for i in $(seq 1 $NUM_REPLICAS); do diff --git a/tests/queries/skip_list.json b/tests/queries/skip_list.json index e38089230f4..980eea26305 100644 --- a/tests/queries/skip_list.json +++ b/tests/queries/skip_list.json @@ -836,6 +836,7 @@ "01870_modulo_partition_key", "01870_buffer_flush", // creates database "01889_postgresql_protocol_null_fields", - "01889_check_row_policy_defined_using_user_function" + "01889_check_row_policy_defined_using_user_function", + "01921_concurrent_ttl_and_normal_merges_zookeeper_long" // heavy test, better to run sequentially ] }