You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/queries/0_stateless/01111_create_drop_replicated_db_stress.sh
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ function create_db()
20
20
$CLICKHOUSE_CLIENT --query \
21
21
"create database if not exists ${CLICKHOUSE_DATABASE}_repl_01111_$SUFFIX engine=Replicated('/test/01111/$CLICKHOUSE_TEST_ZOOKEEPER_PREFIX', '$SHARD', '$REPLICA')" \
22
22
2>&1| grep -Fa "Exception: "| grep -Fv "REPLICA_ALREADY_EXISTS"| grep -Fiv "Will not try to start it up"| \
23
-
grep -Fv "Coordination::Exception"| grep -Fv "already contains some data and it does not look like Replicated database path"
23
+
grep -Fv "Coordination::Exception"| grep -Fv "already contains some data and it does not look like Replicated database path"| grep -Fv QUERY_WAS_CANCELLED
24
24
sleep 0.$RANDOM
25
25
done
26
26
}
@@ -33,7 +33,7 @@ function drop_db()
33
33
if [[ "$database"=="$CLICKHOUSE_DATABASE" ]];thencontinue;fi
"alter table $table update n = n + (select max(n) from merge(REGEXP('${CLICKHOUSE_DATABASE}.*'), '.*')) where 1 settings allow_nondeterministic_mutations=1" \
table=$($CLICKHOUSE_CLIENT -q "select database || '.' || name from system.tables where database like '${CLICKHOUSE_DATABASE}%' order by rand() limit 1")
0 commit comments