ClickHouse/tests/queries/0_stateless/00825_http_header_query_id.sh

8 lines
218 B
Bash
Raw Normal View History

2019-02-02 12:24:26 +00:00
#!/usr/bin/env bash
set -e
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. $CURDIR/../shell_config.sh
2020-04-30 14:06:20 +00:00
${CLICKHOUSE_CURL_COMMAND} -q -I -sSg "${CLICKHOUSE_URL}&query=SELECT%201" | grep -o X-ClickHouse-Query-Id