Better 00980_alter_settings test

This commit is contained in:
alesapin 2020-06-22 16:38:37 +03:00
parent 0e42649e39
commit 350c18e96f

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"