Merge pull request #67361 from ClickHouse/add-no-distributed-cache-tag

Add no-distributed-cache tag in tests
This commit is contained in:
Kseniia Sumarokova 2024-08-04 12:36:31 +00:00 committed by GitHub
commit 881ac7208e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 25 additions and 8 deletions

View File

@ -212,6 +212,10 @@ function run_tests()
ADDITIONAL_OPTIONS+=('--shared-catalog') ADDITIONAL_OPTIONS+=('--shared-catalog')
fi fi
if [[ "$USE_DISTRIBUTED_CACHE" -eq 1 ]]; then
ADDITIONAL_OPTIONS+=('--distributed-cache')
fi
if [[ "$USE_DATABASE_REPLICATED" -eq 1 ]]; then if [[ "$USE_DATABASE_REPLICATED" -eq 1 ]]; then
ADDITIONAL_OPTIONS+=('--replicated-database') ADDITIONAL_OPTIONS+=('--replicated-database')
# Too many tests fail for DatabaseReplicated in parallel. # Too many tests fail for DatabaseReplicated in parallel.

View File

@ -681,6 +681,7 @@ class FailureReason(enum.Enum):
BUILD = "not running for current build" BUILD = "not running for current build"
NO_PARALLEL_REPLICAS = "smth in not supported with parallel replicas" NO_PARALLEL_REPLICAS = "smth in not supported with parallel replicas"
SHARED_MERGE_TREE = "no-shared-merge-tree" SHARED_MERGE_TREE = "no-shared-merge-tree"
DISTRIBUTED_CACHE = "distributed-cache"
# UNKNOWN reasons # UNKNOWN reasons
NO_REFERENCE = "no reference file" NO_REFERENCE = "no reference file"
@ -1191,6 +1192,9 @@ class TestCase:
elif tags and ("no-replicated-database" in tags) and args.replicated_database: elif tags and ("no-replicated-database" in tags) and args.replicated_database:
return FailureReason.REPLICATED_DB return FailureReason.REPLICATED_DB
elif tags and ("no-distributed-cache" in tags) and args.distributed_cache:
return FailureReason.DISTRIBUTED_CACHE
elif ( elif (
tags tags
and ("atomic-database" in tags) and ("atomic-database" in tags)
@ -3203,6 +3207,12 @@ def parse_args():
default=False, default=False,
help="Run tests over s3 storage", help="Run tests over s3 storage",
) )
parser.add_argument(
"--distributed-cache",
action="store_true",
default=False,
help="Run tests with enabled distributed cache",
)
parser.add_argument( parser.add_argument(
"--azure-blob-storage", "--azure-blob-storage",
action="store_true", action="store_true",

View File

@ -1,4 +1,4 @@
-- Tags: no-tsan -- Tags: long, no-tsan, no-distributed-cache
-- Tag no-tsan: Too long for TSan -- Tag no-tsan: Too long for TSan
set enable_filesystem_cache=0; set enable_filesystem_cache=0;

View File

@ -1,4 +1,4 @@
-- Tags: no-random-merge-tree-settings, no-random-settings, no-tsan, no-debug, no-object-storage, long -- Tags: long, no-random-merge-tree-settings, no-random-settings, no-tsan, no-debug, no-object-storage, no-distributed-cache
-- no-tsan: too slow -- no-tsan: too slow
-- no-object-storage: for remote tables we use thread pool even when reading with one stream, so memory consumption is higher -- no-object-storage: for remote tables we use thread pool even when reading with one stream, so memory consumption is higher

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: long, no-random-settings, no-distributed-cache
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh # shellcheck source=../shell_config.sh

View File

@ -1,3 +1,5 @@
-- Tags: no-distributed-cache
SET min_bytes_to_use_direct_io='1Gi'; -- It does not work (fixme) SET min_bytes_to_use_direct_io='1Gi'; -- It does not work (fixme)
SET local_filesystem_read_method='pread'; -- ui_uring local_fs_method does not work here (fixme) SET local_filesystem_read_method='pread'; -- ui_uring local_fs_method does not work here (fixme)

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: no-fasttest, no-random-settings # Tags: no-fasttest, no-random-settings, no-distributed-cache
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh # shellcheck source=../shell_config.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage # Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage, no-distributed-cache
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh # shellcheck source=../shell_config.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage # Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage, no-distributed-cache
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh # shellcheck source=../shell_config.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage # Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage, no-distributed-cache
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh # shellcheck source=../shell_config.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage # Tags: long, no-debug, no-asan, no-tsan, no-msan, no-ubsan, no-sanitize-coverage, no-distributed-cache
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh # shellcheck source=../shell_config.sh

View File

@ -1,4 +1,4 @@
-- Tags: long, no-random-merge-tree-settings -- Tags: long, no-random-merge-tree-settings, no-distributed-cache
-- no-random-merge-tree-settings - times out in private -- no-random-merge-tree-settings - times out in private
DROP TABLE IF EXISTS build; DROP TABLE IF EXISTS build;