ClickHouse/tests/queries/0_stateless/01451_dist_logs.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
440 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2020-08-17 19:49:04 +00:00
# level should be 'trace', otherwise it will not trigger the issue
CLICKHOUSE_CLIENT_SERVER_LOGS_LEVEL=trace
2020-08-17 19:49:04 +00:00
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
2020-12-28 11:46:53 +00:00
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
# triggered not for the first query
2020-08-17 19:49:04 +00:00
for _ in {1..20}; do
echo "select * from remote('127.{2,3}', system.numbers) where number = 10 limit 1;"
2024-08-15 12:40:52 +00:00
done | ${CLICKHOUSE_CLIENT} 2>/dev/null