Better test

This commit is contained in:
alesapin 2019-06-07 10:59:32 +03:00
parent 53e62b83d2
commit 947dbeff16
2 changed files with 0 additions and 9 deletions

View File

@ -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