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

9 lines
259 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)
2020-12-28 11:46:53 +00:00
# shellcheck source=../shell_config.sh
2020-08-01 00:51:12 +00:00
. "$CURDIR"/../shell_config.sh
2019-02-02 12:24:26 +00:00
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