Skip to content

Commit da604cd

Browse files
Disable Bwc Tests (#39552)
* Disable Bwc Tests * For #39550
1 parent 8bb702c commit da604cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ task verifyVersions {
159159
* the enabled state of every bwc task. It should be set back to true
160160
* after the backport of the backcompat code is complete.
161161
*/
162-
boolean bwc_tests_enabled = true
163-
final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
162+
boolean bwc_tests_enabled = false
163+
final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/39550" /* place a PR link here when committing bwc changes */
164164
if (bwc_tests_enabled == false) {
165165
if (bwc_tests_disabled_issue.isEmpty()) {
166166
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")

server/src/main/java/org/elasticsearch/cluster/SnapshotsInProgress.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ public SnapshotsInProgress(StreamInput in) throws IOException {
446446
}
447447
long repositoryStateId = in.readLong();
448448
final String failure;
449-
if (in.getVersion().onOrAfter(Version.V_7_0_0)) {
449+
if (in.getVersion().onOrAfter(Version.V_6_7_0)) {
450450
failure = in.readOptionalString();
451451
} else {
452452
failure = null;
@@ -488,7 +488,7 @@ public void writeTo(StreamOutput out) throws IOException {
488488
}
489489
}
490490
out.writeLong(entry.repositoryStateId);
491-
if (out.getVersion().onOrAfter(Version.V_7_0_0)) {
491+
if (out.getVersion().onOrAfter(Version.V_6_7_0)) {
492492
out.writeOptionalString(entry.failure);
493493
}
494494
}

0 commit comments

Comments
 (0)