Fix unrelated changes

This commit is contained in:
avogar 2024-08-06 08:49:08 +00:00
parent 5226792b1d
commit bb33dca384

View File

@ -682,6 +682,7 @@ class FailureReason(enum.Enum):
BUILD = "not running for current build"
NO_PARALLEL_REPLICAS = "smth in not supported with parallel replicas"
SHARED_MERGE_TREE = "no-shared-merge-tree"
DISTRIBUTED_CACHE = "distributed-cache"
# UNKNOWN reasons
NO_REFERENCE = "no reference file"
@ -1163,9 +1164,6 @@ class TestCase:
elif args.cloud and ("no-replicated-database" in tags):
return FailureReason.REPLICATED_DB
elif tags and ("no-distributed-cache" in tags) and args.distributed_cache:
return FailureReason.DISTRIBUTED_CACHE
elif args.cloud and self.name in suite.cloud_skip_list:
return FailureReason.NOT_SUPPORTED_IN_CLOUD
@ -1212,6 +1210,9 @@ class TestCase:
elif tags and ("no-replicated-database" in tags) and args.replicated_database:
return FailureReason.REPLICATED_DB
elif tags and ("no-distributed-cache" in tags) and args.distributed_cache:
return FailureReason.DISTRIBUTED_CACHE
elif (
tags
and ("atomic-database" in tags)
@ -1250,7 +1251,7 @@ class TestCase:
return FailureReason.SKIP
elif "no-flaky-check" in tags and (
1 == int(os.environ.get("IS_FLAKY_CHECK", 0))
1 == int(os.environ.get("IS_FLAKY_CHECK", 0))
):
return FailureReason.SKIP