mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Better tests
This commit is contained in:
parent
5cd112969f
commit
00dc21b0b9
@ -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"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user