Merge pull request #11863 from ClickHouse/more_stable_alter_settings_test

Better 00980_alter_settings test
This commit is contained in:
alesapin 2020-06-23 10:43:22 +03:00 committed by GitHub
commit e5411e52b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,12 @@ done &
sleep 4
# we just test race conditions, not logic
# if we have too many simultaneous queries
until $CLICKHOUSE_CLIENT --query "SELECT 1" 2>/dev/null 1>/dev/null
do
sleep 0.5
done
$CLICKHOUSE_CLIENT --query "SELECT 1"
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS table_for_concurrent_alter"