Skip to content

Commit 2ea9a90

Browse files
authored
Adjust BWC candidates in retention lease BWC tests (#40562)
We test BWC with nodes older than 6.7.0 since such nodes would not understand retention lease sync requests. However, we do not need to test compatbility with nodes on or after 6.7.0 since we know these nodes understand retention lease sync requests, which are already exercised in other tests. Therefore, we can skip these versions when running the BWC tests and only test against versions that do not understand retention lease sync requests.
1 parent 1a0a696 commit 2ea9a90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

qa/retention-lease-bwc/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ esplugin {
3030
integTest.enabled = false
3131

3232
task bwcTest {
33-
description = 'runs retention lease backwards compatability tests'
33+
description = 'runs retention lease backwards compatibility tests'
3434
group = 'verification'
3535
}
3636

@@ -39,6 +39,10 @@ for (Version version : bwcVersions.wireCompatible) {
3939
// versions before 6.5.0 do not support soft deletes
4040
continue
4141
}
42+
if (version.onOrAfter("6.7.0")) {
43+
// we are known to be compatible with these versions
44+
continue
45+
}
4246

4347
final String baseName = "v${version}"
4448

0 commit comments

Comments
 (0)