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

8 lines
215 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
2019-10-11 17:24:18 +00:00
${CLICKHOUSE_CURL_COMMAND} -I -sSg "${CLICKHOUSE_URL}&query=SELECT%201" | grep -o X-ClickHouse-Query-Id