From d3b378ea10bb5df25e7f83dce9311c9c4c30e961 Mon Sep 17 00:00:00 2001 From: alesapin Date: Thu, 29 Aug 2019 11:02:50 +0300 Subject: [PATCH] Fix flappy test (descrease number of iterations) --- dbms/tests/queries/0_stateless/00980_alter_settings_race.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/tests/queries/0_stateless/00980_alter_settings_race.sh b/dbms/tests/queries/0_stateless/00980_alter_settings_race.sh index 4a948841ed7..3a9e854210d 100755 --- a/dbms/tests/queries/0_stateless/00980_alter_settings_race.sh +++ b/dbms/tests/queries/0_stateless/00980_alter_settings_race.sh @@ -8,7 +8,7 @@ $CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS table_for_concurrent_alter" $CLICKHOUSE_CLIENT --query="CREATE TABLE table_for_concurrent_alter (id UInt64, Data String) ENGINE = MergeTree() ORDER BY id SETTINGS index_granularity=4096;"; n=0 -while [ "$n" -lt 100 ]; +while [ "$n" -lt 50 ]; do n=$(( n + 1 )) $CLICKHOUSE_CLIENT --query="INSERT INTO table_for_concurrent_alter VALUES(1, 'Hello')" > /dev/null 2> /dev/null & @@ -17,7 +17,7 @@ done & q=0 -while [ "$q" -lt 100 ]; +while [ "$q" -lt 50 ]; do q=$(( q + 1 )) counter=$(( 100 + q ))