ClickHouse/tests/queries/0_stateless/01647_clickhouse_local_hung.sh
Robert Schulze cb52c98def
Make fasttest fast
Excludes tests with runtimes of 10+ sec from fasttests.
2023-03-16 16:53:12 +00:00

12 lines
316 B
Bash
Executable File

#!/usr/bin/env bash
# Tags: no-fasttest
set -e
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
for _ in {1..100}; do echo 'Hello, world!' | ${CLICKHOUSE_LOCAL} --query "SELECT * FROM table" --structure 's String' | wc -c; done | uniq -c