Update clickhouse-test

This commit is contained in:
Kruglov Pavel 2021-10-27 14:46:53 +03:00 committed by GitHub
parent ca02f9757c
commit 5e5b6ade00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -409,8 +409,8 @@ class TestCase:
self.runs_count = 0 self.runs_count = 0
# Check if test contains tag "backward-incompatible" and we should skip it # Check if test contains tag "backward-incompatible" and we should skip it
def check_backward_incompatible_tag(self, tags) -> bool: def check_backward_incompatible_tag(self) -> bool:
for tag in tags: for tag in self.tags:
if tag.startswith("backward-incompatible"): if tag.startswith("backward-incompatible"):
split = tag.split(':') split = tag.split(':')
@ -462,7 +462,7 @@ 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 args.backward_compatibility_check and self.check_backward_incompatible_tag(tags): elif args.backward_compatibility_check and self.check_backward_incompatible_tag():
return FailureReason.BACKWARD_INCOMPATIBLE return FailureReason.BACKWARD_INCOMPATIBLE
elif tags: elif tags: