mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Check that ya.make files are auto-generated
This commit is contained in:
parent
5a00941303
commit
425297e9c9
@ -9,13 +9,13 @@ $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS mem"
|
||||
$CLICKHOUSE_CLIENT -q "CREATE TABLE mem (x UInt64) engine = Memory"
|
||||
|
||||
function f {
|
||||
for i in $(seq 1 1000); do
|
||||
for _ in $(seq 1 1000); do
|
||||
$CLICKHOUSE_CLIENT -q "SELECT count() FROM (SELECT * FROM mem SETTINGS max_threads=2) FORMAT Null;"
|
||||
done
|
||||
}
|
||||
|
||||
function g {
|
||||
for i in $(seq 1 100); do
|
||||
for _ in $(seq 1 100); do
|
||||
$CLICKHOUSE_CLIENT -n -q "
|
||||
INSERT INTO mem SELECT number FROM numbers(1000000);
|
||||
INSERT INTO mem SELECT number FROM numbers(1000000);
|
||||
|
@ -81,3 +81,7 @@ find $ROOT_PATH -not -path $ROOT_PATH'/docker*' -not -path $ROOT_PATH'/contrib*'
|
||||
|
||||
# There shouldn't be any docker compose files outside docker directory
|
||||
#find $ROOT_PATH -not -path $ROOT_PATH'/tests/testflows*' -not -path $ROOT_PATH'/docker*' -not -path $ROOT_PATH'/contrib*' -name '*compose*.yml' -type f 2>/dev/null | xargs --no-run-if-empty grep -l "version:" | xargs --no-run-if-empty -n1 echo "Please move docker compose to docker directory:"
|
||||
|
||||
# Check that ya.make files are auto-generated
|
||||
"$ROOT_PATH"/utils/generate-ya-make/generate-ya-make.sh
|
||||
git status -uno | grep ya.make && echo "ya.make files should be generated with utils/generate-ya-make/generate-ya-make.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user