Skip to content

Commit

Permalink
Enable bwc tests now that #74226 has been to 7.x branch. (#75968)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg authored Aug 2, 2021
1 parent ec588cb commit dda172e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ tasks.register("verifyVersions") {
* after the backport of the backcompat code is complete.
*/

boolean bwc_tests_enabled = false
boolean bwc_tests_enabled = true
// place a PR link here when committing bwc changes:
String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/74226"
String bwc_tests_disabled_issue = ""
/*
* FIPS 140-2 behavior was fixed in 7.11.0. Before that there is no way to run elasticsearch in a
* JVM that is properly configured to be in fips mode with BCFIPS. For now we need to disable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public DeprecationIssue(StreamInput in) throws IOException {
message = in.readString();
url = in.readString();
details = in.readOptionalString();
resolveDuringRollingUpgrade = in.getVersion().onOrAfter(Version.V_8_0_0) && in.readBoolean();
resolveDuringRollingUpgrade = in.getVersion().onOrAfter(Version.V_7_15_0) && in.readBoolean();
meta = in.getVersion().onOrAfter(Version.V_7_14_0) ? in.readMap() : null;
}

Expand Down Expand Up @@ -123,7 +123,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeString(message);
out.writeString(url);
out.writeOptionalString(details);
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
if (out.getVersion().onOrAfter(Version.V_7_15_0)) {
out.writeBoolean(resolveDuringRollingUpgrade);
}
if (out.getVersion().onOrAfter(Version.V_7_14_0)) {
Expand Down

0 comments on commit dda172e

Please sign in to comment.