mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
Update 00416_pocopatch_progress_in_http_headers.sh
This commit is contained in:
parent
58581ce5f6
commit
49ab480d40
@ -9,7 +9,7 @@ RETRIES=5
|
||||
result=""
|
||||
lines_expected=4
|
||||
counter=0
|
||||
while [ $counter -lt $RETRIES ] && [ $(echo "$result" | wc -l) != "$lines_expected" ]; do
|
||||
while [ $counter -lt $RETRIES ] && [ "$(echo "$result" | wc -l)" != "$lines_expected" ]; do
|
||||
result=$(${CLICKHOUSE_CURL} -vsS "${CLICKHOUSE_URL}&max_block_size=5&send_progress_in_http_headers=1&http_headers_progress_interval_ms=0" -d 'SELECT max(number) FROM numbers(10)' 2>&1 | grep -E 'Content-Encoding|X-ClickHouse-Progress|^[0-9]')
|
||||
let counter=counter+1
|
||||
done
|
||||
@ -18,7 +18,7 @@ echo "$result"
|
||||
result=""
|
||||
lines_expected=12
|
||||
counter=0
|
||||
while [ $counter -lt $RETRIES ] && [ $(echo "$result" | wc -l) != "$lines_expected" ]; do
|
||||
while [ $counter -lt $RETRIES ] && [ "$(echo "$result" | wc -l)" != "$lines_expected" ]; do
|
||||
result=$(${CLICKHOUSE_CURL} -vsS "${CLICKHOUSE_URL}&max_block_size=1&send_progress_in_http_headers=1&http_headers_progress_interval_ms=0&output_format_parallel_formatting=0" -d 'SELECT number FROM numbers(10)' 2>&1 | grep -E 'Content-Encoding|X-ClickHouse-Progress|^[0-9]')
|
||||
let counter=counter+1
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user