ClickHouse/tests/queries/0_stateless/00938_fix_rwlock_segfault_long.sh

15 lines
372 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Test fix for issue #5066
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
set -e
# NOTE: database = $CLICKHOUSE_DATABASE is unwanted
2020-08-01 00:40:56 +00:00
for _ in {1..100}; do \
$CLICKHOUSE_CLIENT -q "SELECT name FROM system.tables UNION ALL SELECT name FROM system.columns format Null";
done