Skip to content

Commit f8d7508

Browse files
committed
Make xfail_scylla_version_lt accept any ent_scylla_version version
It turns out that scylla can get new features in the minor version. So, let's ease requirement to ent_scylla_versio and allow any version there.
1 parent 7597059 commit f8d7508

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/integration/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -688,17 +688,14 @@ def xfail_scylla_version_lt(reason, oss_scylla_version, ent_scylla_version, *arg
688688
It is used to mark tests that are going to fail on certain scylla versions.
689689
:param reason: message to fail test with
690690
:param oss_scylla_version: str, oss version from which test supposed to succeed
691-
:param ent_scylla_version: str, enterprise version from which test supposed to succeed. It should end with `.1.1`
691+
:param ent_scylla_version: str, enterprise version from which test supposed to succeed
692692
"""
693693
if not reason.startswith("scylladb/scylladb#"):
694694
raise ValueError('reason should start with scylladb/scylladb#<issue-id> to reference issue in scylla repo')
695695

696696
if not isinstance(ent_scylla_version, str):
697697
raise ValueError('ent_scylla_version should be a str')
698698

699-
if not ent_scylla_version.endswith("1.1"):
700-
raise ValueError('ent_scylla_version should end with "1.1"')
701-
702699
if SCYLLA_VERSION is None:
703700
return pytest.mark.skipif(False, reason="It is just a NoOP Decor, should not skip anything")
704701

0 commit comments

Comments
 (0)