ClickHouse/tests/queries/0_stateless/00093_union_race_conditions_4.sh

10 lines
349 B
Bash
Raw Normal View History

2016-12-21 20:43:35 +00:00
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
2020-08-01 00:51:12 +00:00
. "$CURDIR"/../shell_config.sh
2016-12-21 20:43:35 +00:00
set -o errexit
set -o pipefail
2020-08-01 00:40:56 +00:00
for _ in {1..10}; do seq 1 10 | sed 's/.*/SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);/' | $CLICKHOUSE_CLIENT -n --max_block_size=1 >/dev/null 2>&1 && echo 'Fail!' && break; echo -n '.'; done; echo