Update 01071_http_header_exception_code.sh

This commit is contained in:
Mikhail Korotov 2020-01-24 14:29:03 +03:00 committed by GitHub
parent 79fe132f58
commit 800f8adfee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,4 @@
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. $CURDIR/../shell_config.sh
${CLICKHOUSE_CURL_COMMAND} -I -sSg "${CLICKHOUSE_URL}?query=BADREQUEST" | grep -o 'X-ClickHouse-Exception-Code: 62'
exit 0
${CLICKHOUSE_CURL_COMMAND} -I -sSg "${CLICKHOUSE_URL}?query=BADREQUEST" 2>/dev/null | grep -o 'X-ClickHouse-Exception-Code: 62'