mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
tests fixed
This commit is contained in:
parent
800f8adfee
commit
b9b1dd5cdd
@ -1 +1 @@
|
||||
X-ClickHouse-Exception-Code: 62
|
||||
True
|
||||
|
@ -3,4 +3,7 @@
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
${CLICKHOUSE_CURL_COMMAND} -I -sSg "${CLICKHOUSE_URL}?query=BADREQUEST" 2>/dev/null | grep -o 'X-ClickHouse-Exception-Code: 62'
|
||||
if [[ `${CLICKHOUSE_CURL_COMMAND} -I "${CLICKHOUSE_URL}&query=BADREQUEST" 2>&1 | grep -c 'X-ClickHouse-Exception-Code: 62'` -eq 1 ]]; then
|
||||
echo "True"
|
||||
fi
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user