mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update 01600_count_of_parts_metrics.sh
This commit is contained in:
parent
b2e4c0ee71
commit
65b4008d1f
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
verify_sql="SELECT COUNT(1)
|
||||
@ -18,7 +19,7 @@ FROM system.parts
|
||||
) as b USING (Parts,PartsActive,PartsInactive)"
|
||||
|
||||
verify(){
|
||||
for i in $(seq 1 10)
|
||||
for _ in $(seq 1 10)
|
||||
do
|
||||
result=$( $CLICKHOUSE_CLIENT -m --query="$verify_sql" )
|
||||
if [ "$result" = "1" ];then
|
||||
|
Loading…
Reference in New Issue
Block a user