mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Supress some tests for S3
This commit is contained in:
parent
cbf4790ea4
commit
b6828f1b4a
@ -85,6 +85,10 @@ function run_tests()
|
||||
# everything in parallel except DatabaseReplicated. See below.
|
||||
fi
|
||||
|
||||
if [[ -n "$USE_S3_STORAGE_FOR_MERGE_TREE" ]] && [[ "$USE_S3_STORAGE_FOR_MERGE_TREE" -eq 1 ]]; then
|
||||
ADDITIONAL_OPTIONS+=('--s3-storage')
|
||||
fi
|
||||
|
||||
if [[ -n "$USE_DATABASE_REPLICATED" ]] && [[ "$USE_DATABASE_REPLICATED" -eq 1 ]]; then
|
||||
ADDITIONAL_OPTIONS+=('--replicated-database')
|
||||
ADDITIONAL_OPTIONS+=('--jobs')
|
||||
|
@ -329,6 +329,7 @@ class FailureReason(enum.Enum):
|
||||
FAST_ONLY = "running fast tests only"
|
||||
NO_LONG = "not running long tests"
|
||||
REPLICATED_DB = "replicated-database"
|
||||
S3_STORAGE = "s3-storage"
|
||||
BUILD = "not running for current build"
|
||||
|
||||
# UNKNOWN reasons
|
||||
@ -463,6 +464,10 @@ class TestCase:
|
||||
elif tags and ('no-replicated-database' in tags) and args.replicated_database:
|
||||
return FailureReason.REPLICATED_DB
|
||||
|
||||
elif tags and ('no-s3-storage' in tags) and args.s3_storage:
|
||||
return FailureReason.S3_STORAGE
|
||||
|
||||
|
||||
elif tags:
|
||||
for build_flag in args.build_flags:
|
||||
if 'no-' + build_flag in tags:
|
||||
@ -1369,6 +1374,7 @@ if __name__ == '__main__':
|
||||
parser.add_argument('--client-option', nargs='+', help='Specify additional client argument')
|
||||
parser.add_argument('--print-time', action='store_true', dest='print_time', help='Print test time')
|
||||
parser.add_argument('--check-zookeeper-session', action='store_true', help='Check ZooKeeper session uptime to determine if failed test should be retried')
|
||||
parser.add_argument('--s3-storage', action='store_true', default=False, help='Run tests over s3 storage')
|
||||
|
||||
parser.add_argument('--run-by-hash-num', type=int, help='Run tests matching crc32(test_name) % run_by_hash_total == run_by_hash_num')
|
||||
parser.add_argument('--run-by-hash-total', type=int, help='Total test groups for crc32(test_name) % run_by_hash_total == run_by_hash_num')
|
||||
|
@ -1,3 +1,4 @@
|
||||
-- Tags: no-s3-storage
|
||||
SELECT '*** Not partitioned ***';
|
||||
|
||||
DROP TABLE IF EXISTS not_partitioned;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Tags: long
|
||||
# Tags: long, no-s3-storage
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- Tags: long
|
||||
-- Tags: long, no-s3-storage
|
||||
|
||||
DROP TABLE IF EXISTS check_system_tables;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- Tags: no-parallel
|
||||
-- Tags: no-parallel, no-s3-storage
|
||||
|
||||
drop table if exists ttl;
|
||||
set mutations_sync = 2;
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Tags: no-s3-storage
|
||||
-- Output slightly different plan
|
||||
drop table if exists t;
|
||||
|
||||
create table t (a Int, b Int) engine = MergeTree order by (a, b) settings index_granularity = 400;
|
||||
|
@ -1,3 +1,4 @@
|
||||
-- Tags: no-s3-storage
|
||||
select * from system.settings where name = 'send_timeout';
|
||||
select * from system.merge_tree_settings order by length(description) limit 1;
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
-- Tags: no-s3-storage
|
||||
DROP TABLE IF EXISTS test_01343;
|
||||
CREATE TABLE test_01343 (x String) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0;
|
||||
INSERT INTO test_01343 VALUES ('Hello, world');
|
||||
|
@ -1,3 +1,4 @@
|
||||
-- Tags: no-s3-storage
|
||||
DROP TABLE IF EXISTS test_01344;
|
||||
CREATE TABLE test_01344 (x String, INDEX idx (x) TYPE set(10) GRANULARITY 1) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0;
|
||||
INSERT INTO test_01344 VALUES ('Hello, world');
|
||||
|
@ -1,3 +1,4 @@
|
||||
-- Tags: no-s3-storage
|
||||
SELECT '====array====';
|
||||
DROP TABLE IF EXISTS t_arr;
|
||||
CREATE TABLE t_arr (a Array(UInt32)) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0;
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Tags: no-s3-storage
|
||||
-- Temporary supressed
|
||||
DROP TABLE IF EXISTS nested;
|
||||
|
||||
SET flatten_nested = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user