From adfe2f78a9f760a42cd79b997868c3e5154b4c73 Mon Sep 17 00:00:00 2001 From: Alexander Sapin Date: Thu, 25 Apr 2024 12:35:08 +0200 Subject: [PATCH] Try to make error more clear --- docker/test/stateless/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/test/stateless/run.sh b/docker/test/stateless/run.sh index 64638e8f90a..cfb90680f6b 100755 --- a/docker/test/stateless/run.sh +++ b/docker/test/stateless/run.sh @@ -295,7 +295,7 @@ stop_logs_replication failed_to_save_logs=0 for table in query_log zookeeper_log trace_log transactions_info_log metric_log do - err=$( { clickhouse-client -q "select * from system.$table format TSVWithNamesAndTypes" | zstd --threads=0 > /test_output/$table.tsv.zst; } 2>&1 ) + err=$(clickhouse-client -q "select * from system.$table into outfile '/test_output/$table.tsv.gz' format TSVWithNamesAndTypes") echo "$err" [[ "0" != "${#err}" ]] && failed_to_save_logs=1 if [[ -n "$USE_DATABASE_REPLICATED" ]] && [[ "$USE_DATABASE_REPLICATED" -eq 1 ]]; then