You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some test that was marked with @xfail_scylla, are now passing
with newer release, i.e. some issue were fixed.
so this new decorator can xfail up to a certion scylla_version
note that it support both a oss version, and enterprise version
# Enterprise releases are tricky, here are the rules:
414
+
# 1. If something is fixed in `a.b.c` it is also fixed in `a.b.d` where c < d
415
+
# 2. If something is fixed in `a.1.1` it is also fixed in `c.d.f` where Version(a.b.1) < Version(`c.d.f`)
416
+
# To make version matching work properly of enterprise we need to have a first major version (`x.1.1`) where it was fixed, in addition to exact version.
417
+
forent_vinent_scylla_version:
418
+
ifent_v.minorin (1,0) andent_v.microin (1,0):
419
+
first_major=ent_v
420
+
421
+
ifnotfirst_major:
422
+
raiseValueError("ent_scylla_version should contain not only exact version where issue has been fixed, but also first major: `x.1.1`")
423
+
424
+
ifSCYLLA_VERSIONisNone:
425
+
returnpytest.mark.skipif(False, reason="It is just a NoOP Decor, should not skip anything")
0 commit comments