From 5917210a0247923e4745a6b5b063790fd41202b7 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 27 Jul 2024 19:51:05 +0200 Subject: [PATCH] Update 01600_parts_states_metrics_long.sh --- tests/queries/0_stateless/01600_parts_states_metrics_long.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/01600_parts_states_metrics_long.sh b/tests/queries/0_stateless/01600_parts_states_metrics_long.sh index cee7de3b1db..f535d888446 100755 --- a/tests/queries/0_stateless/01600_parts_states_metrics_long.sh +++ b/tests/queries/0_stateless/01600_parts_states_metrics_long.sh @@ -17,13 +17,13 @@ verify() { for i in {1..100} do - result=$( $CLICKHOUSE_CLIENT -m --query="$verify_sql" ) + result=$( $CLICKHOUSE_CLIENT --query="$verify_sql" ) [ "$result" = "1" ] && echo "$result" && break sleep 0.1 if [[ $i -eq 100 ]] then - $CLICKHOUSE_CLIENT --query " + $CLICKHOUSE_CLIENT --multiquery " SELECT sumIf(value, metric = 'PartsActive'), sumIf(value, metric = 'PartsOutdated') FROM system.metrics; SELECT sum(active), sum(NOT active) FROM system.parts; SELECT sum(active), sum(NOT active) FROM system.projection_parts;