Better tests

This commit is contained in:
Alexey Milovidov 2020-12-03 13:02:20 +03:00
parent 5cd112969f
commit 00dc21b0b9
2 changed files with 5 additions and 2 deletions

View File

@ -317,6 +317,9 @@ function run_tests
01545_system_errors
# Checks system.errors
01563_distributed_query_finish
# nc - command not found
01601_proxy_protocol
)
time clickhouse-test -j 8 --order=random --no-long --testname --shard --zookeeper --skip "${TESTS_TO_SKIP[@]}" -- "$FASTTEST_FOCUS" 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee "$FASTTEST_OUTPUT/test_log.txt"

View File

@ -14,8 +14,8 @@ DROP QUOTA IF EXISTS quota_by_forwarded_ip;
CREATE USER quoted_by_ip;
CREATE USER quoted_by_forwarded_ip;
GRANT ALL ON *.* TO quoted_by_ip;
GRANT ALL ON *.* TO quoted_by_forwarded_ip;
GRANT SELECT, CREATE ON *.* TO quoted_by_ip;
GRANT SELECT, CREATE ON *.* TO quoted_by_forwarded_ip;
CREATE QUOTA quota_by_ip KEYED BY ip_address FOR RANDOMIZED INTERVAL 1 YEAR MAX QUERIES = 1 TO quoted_by_ip;
CREATE QUOTA quota_by_forwarded_ip KEYED BY forwarded_ip_address FOR RANDOMIZED INTERVAL 1 YEAR MAX QUERIES = 1 TO quoted_by_forwarded_ip;