Fix logic for retention-lease-bwc tests
This commit adapts the retention-lease BWC snapshot tests to skip 6.7
since we assume compatibility with that branch.
@@ -95,8 +95,12 @@ for (Version version : bwcVersions.wireCompatible) {
task bwcTestSnapshots {
if (project.bwc_tests_enabled) {
for (final def version : bwcVersions.unreleasedWireCompatible) {
- // versions before 6.5.0 do not support soft deletes
if (version.before("6.5.0")) {
+ // versions before 6.5.0 do not support soft deletes
+ continue
+ }
+ if (version.onOrAfter("6.7.0")) {
+ // we are known to be compatible with these versions
continue
}
dependsOn "v${version}#bwcTest"
