From 65b4008d1fa28094f67a0d1c70cb94331d29aa30 Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Thu, 7 Jan 2021 06:36:00 +0300 Subject: [PATCH] Update 01600_count_of_parts_metrics.sh --- tests/queries/0_stateless/01600_count_of_parts_metrics.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/01600_count_of_parts_metrics.sh b/tests/queries/0_stateless/01600_count_of_parts_metrics.sh index f55ee58ad15..703fe1703a6 100755 --- a/tests/queries/0_stateless/01600_count_of_parts_metrics.sh +++ b/tests/queries/0_stateless/01600_count_of_parts_metrics.sh @@ -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