From 31c5f35e305098ab2a5442571b73777cb4c83985 Mon Sep 17 00:00:00 2001 From: avogar Date: Fri, 22 Jul 2022 19:03:23 +0000 Subject: [PATCH] Update tests --- .../0_stateless/02366_cancel_write_into_file.reference | 2 -- tests/queries/0_stateless/02366_cancel_write_into_file.sh | 5 ++--- .../queries/0_stateless/02367_cancel_write_into_s3.reference | 2 -- tests/queries/0_stateless/02367_cancel_write_into_s3.sh | 4 ++-- .../0_stateless/02368_cancel_write_into_hdfs.reference | 2 -- tests/queries/0_stateless/02368_cancel_write_into_hdfs.sh | 4 ++-- 6 files changed, 6 insertions(+), 13 deletions(-) diff --git a/tests/queries/0_stateless/02366_cancel_write_into_file.reference b/tests/queries/0_stateless/02366_cancel_write_into_file.reference index b2f7f08c170..e69de29bb2d 100644 --- a/tests/queries/0_stateless/02366_cancel_write_into_file.reference +++ b/tests/queries/0_stateless/02366_cancel_write_into_file.reference @@ -1,2 +0,0 @@ -10 -10 diff --git a/tests/queries/0_stateless/02366_cancel_write_into_file.sh b/tests/queries/0_stateless/02366_cancel_write_into_file.sh index 47fa3094948..6f213c5bac4 100755 --- a/tests/queries/0_stateless/02366_cancel_write_into_file.sh +++ b/tests/queries/0_stateless/02366_cancel_write_into_file.sh @@ -13,8 +13,7 @@ done sleep 2 -$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02366_') sync" | grep "finished" -c - +$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02366_') sync" > /dev/null for i in $(seq 1 10); do $CLICKHOUSE_CLIENT --query_id="02366_$i" -q "insert into function file('02366_data_$i.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0" 2> /dev/null & @@ -22,4 +21,4 @@ done sleep 2 -$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02366_') sync" | grep "finished" -c +$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02366_') sync" > /dev/null diff --git a/tests/queries/0_stateless/02367_cancel_write_into_s3.reference b/tests/queries/0_stateless/02367_cancel_write_into_s3.reference index b2f7f08c170..e69de29bb2d 100644 --- a/tests/queries/0_stateless/02367_cancel_write_into_s3.reference +++ b/tests/queries/0_stateless/02367_cancel_write_into_s3.reference @@ -1,2 +0,0 @@ -10 -10 diff --git a/tests/queries/0_stateless/02367_cancel_write_into_s3.sh b/tests/queries/0_stateless/02367_cancel_write_into_s3.sh index d24462bf584..facbd63dda1 100755 --- a/tests/queries/0_stateless/02367_cancel_write_into_s3.sh +++ b/tests/queries/0_stateless/02367_cancel_write_into_s3.sh @@ -13,7 +13,7 @@ done sleep 2 -$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02367_') sync" | grep "finished" -c +$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02367_') sync" > /dev/null for i in $(seq 1 10); do @@ -22,4 +22,4 @@ done sleep 2 -$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02367_') sync" | grep "finished" -c +$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02367_') sync" > /dev/null diff --git a/tests/queries/0_stateless/02368_cancel_write_into_hdfs.reference b/tests/queries/0_stateless/02368_cancel_write_into_hdfs.reference index b2f7f08c170..e69de29bb2d 100644 --- a/tests/queries/0_stateless/02368_cancel_write_into_hdfs.reference +++ b/tests/queries/0_stateless/02368_cancel_write_into_hdfs.reference @@ -1,2 +0,0 @@ -10 -10 diff --git a/tests/queries/0_stateless/02368_cancel_write_into_hdfs.sh b/tests/queries/0_stateless/02368_cancel_write_into_hdfs.sh index 6fda8e9dcff..9a56663a1b6 100755 --- a/tests/queries/0_stateless/02368_cancel_write_into_hdfs.sh +++ b/tests/queries/0_stateless/02368_cancel_write_into_hdfs.sh @@ -13,7 +13,7 @@ done sleep 2 -$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02368_') sync" | grep "finished" -c +$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02368_') sync" > /dev/null for i in $(seq 1 10); do @@ -22,4 +22,4 @@ done sleep 2 -$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02368_') sync" | grep "finished" -c +$CLICKHOUSE_CLIENT -q "kill query where startsWith(query_id, '02368_') sync" > /dev/null