Skip to content

Commit 7c8cd1e

Browse files
Update 02935_http_content_type_with_http_headers_progress.sh
1 parent 7ebff33 commit 7c8cd1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/queries/0_stateless/02935_http_content_type_with_http_headers_progress.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
66

77
THREADS=$(nproc)
88

9-
for frmt in TSV TabSeparatedWithNamesAndTypes CSV CSVWithNames Null Native RowBinary JSONStrings JSON JSONEachRow Values Vertical
9+
for format in TSV TabSeparatedWithNamesAndTypes CSV CSVWithNames Null Native RowBinary JSONStrings JSON JSONEachRow Values Vertical
1010
do
11-
echo $frmt
12-
url="${CLICKHOUSE_URL}/?http_headers_progress_interval_ms=1&send_progress_in_http_headers=true&query=select+sleepEachRow(0.01)from+numbers(10)+FORMAT+${frmt}"
13-
(seq 1 200| xargs -n1 -P"${THREADS}" -Ixxx curl -Ss -v -o /dev/null ${url} 2>&1|grep -Eo " Content-Type:.*$")|strings|sort -u
11+
echo $format
12+
url="${CLICKHOUSE_URL}/?http_headers_progress_interval_ms=1&send_progress_in_http_headers=true&query=select+sleepEachRow(0.01)from+numbers(10)+FORMAT+${format}"
13+
(seq 1 200 | xargs -n1 -P"${THREADS}" -Ixxx curl -Ss -v -o /dev/null ${url} 2>&1 | grep -P -o " Content-Type:.*$") | strings | sort -u
1414
done
1515

0 commit comments

Comments
 (0)