From 947dbeff1628aa425b91a3677ecb79230fe5fc56 Mon Sep 17 00:00:00 2001 From: alesapin Date: Fri, 7 Jun 2019 10:59:32 +0300 Subject: [PATCH] Better test --- .../00953_zookeeper_suetin_deduplication_bug.reference | 3 --- .../0_stateless/00953_zookeeper_suetin_deduplication_bug.sh | 6 ------ 2 files changed, 9 deletions(-) diff --git a/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.reference b/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.reference index 33835b8652a..929d315738b 100644 --- a/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.reference +++ b/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.reference @@ -1,7 +1,4 @@ 3 -3 4 -3 5 -3 5 diff --git a/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.sh b/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.sh index c92162cb43c..03dc7e65005 100755 --- a/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.sh +++ b/dbms/tests/queries/0_stateless/00953_zookeeper_suetin_deduplication_bug.sh @@ -29,8 +29,6 @@ $CLICKHOUSE_CLIENT --query="SELECT count(*) from elog" # 3 rows count=`$CLICKHOUSE_CLIENT --query="SELECT COUNT(*) FROM system.zookeeper where path = '/clickhouse/tables/elog/blocks'"` -echo $count # 3 blocks - while [[ $count != 2 ]] do sleep 1 @@ -42,8 +40,6 @@ $CLICKHOUSE_CLIENT --query="INSERT INTO elog VALUES (toDate('2018-10-01'), 1, 'h $CLICKHOUSE_CLIENT --query="SELECT count(*) from elog" # 4 rows count=`$CLICKHOUSE_CLIENT --query="SELECT COUNT(*) FROM system.zookeeper where path = '/clickhouse/tables/elog/blocks'"` -echo $count # 3 blocks - while [[ $count != 2 ]] do sleep 1 @@ -56,8 +52,6 @@ $CLICKHOUSE_CLIENT --query="SELECT count(*) from elog" # 5 rows count=`$CLICKHOUSE_CLIENT --query="SELECT COUNT(*) FROM system.zookeeper where path = '/clickhouse/tables/elog/blocks'"` -echo $count # 3 blocks - while [[ $count != 2 ]] do sleep 1