From 0733144b4a355394fecb837ba01af76a50e3fa05 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 3 Apr 2021 12:53:57 +0300 Subject: [PATCH] Lower test scale --- ...01746_long_zlib_http_compression_json_format.reference | 8 ++++---- .../01746_long_zlib_http_compression_json_format.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.reference b/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.reference index 7c089a2fd0..92dfd99c25 100644 --- a/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.reference +++ b/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.reference @@ -5,7 +5,7 @@ "host": "clickhouse-test-host-001.clickhouse.com", "home": "clickhouse", "detail": "clickhouse", - "row_number": "999998" + "row_number": "99998" }, { "datetime": "2020-12-12", @@ -13,11 +13,11 @@ "host": "clickhouse-test-host-001.clickhouse.com", "home": "clickhouse", "detail": "clickhouse", - "row_number": "999999" + "row_number": "99999" } ], - "rows": 1000000, + "rows": 100000, - "rows_before_limit_at_least": 1048080, + "rows_before_limit_at_least": 131010, diff --git a/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.sh b/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.sh index e663b32966..7a2343a953 100755 --- a/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.sh +++ b/tests/queries/0_stateless/01746_long_zlib_http_compression_json_format.sh @@ -4,4 +4,4 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CURDIR"/../shell_config.sh -${CLICKHOUSE_CURL} -sS -H 'Accept-Encoding: gzip' "${CLICKHOUSE_URL}&enable_http_compression=1&http_zlib_compression_level=1" -d "SELECT toDate('2020-12-12') as datetime, 'test-pipeline' as pipeline, 'clickhouse-test-host-001.clickhouse.com' as host, 'clickhouse' as home, 'clickhouse' as detail, number as row_number FROM numbers(1000000) FORMAT JSON" | gzip -d | tail -n30 | head -n23 +${CLICKHOUSE_CURL} -sS -H 'Accept-Encoding: gzip' "${CLICKHOUSE_URL}&enable_http_compression=1&http_zlib_compression_level=1" -d "SELECT toDate('2020-12-12') as datetime, 'test-pipeline' as pipeline, 'clickhouse-test-host-001.clickhouse.com' as host, 'clickhouse' as home, 'clickhouse' as detail, number as row_number FROM numbers(100000) FORMAT JSON" | gzip -d | tail -n30 | head -n23 -- GitLab