Skip to content

Commit

Permalink
[ML] Unmute DF analytics bwc tests and fix versions (#53850)
Browse files Browse the repository at this point in the history
... after backporting #53788
  • Loading branch information
dimitris-athanasiou authored Mar 20, 2020
1 parent 561222b commit 687c888
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public Stats(StreamInput in) throws IOException {
} else {
memoryUsage = null;
}
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
if (in.getVersion().onOrAfter(Version.V_7_7_0)) {
analysisStats = in.readOptionalNamedWriteable(AnalysisStats.class);
} else {
analysisStats = null;
Expand Down Expand Up @@ -334,7 +334,7 @@ public void writeTo(StreamOutput out) throws IOException {
if (out.getVersion().onOrAfter(Version.V_7_7_0)) {
out.writeOptionalWriteable(memoryUsage);
}
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
if (out.getVersion().onOrAfter(Version.V_7_7_0)) {
out.writeOptionalNamedWriteable(analysisStats);
}
out.writeOptionalWriteable(node);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
setup:
- skip:
version: "all"
reason: "Until backport of https://github.com/elastic/elasticsearch/pull/53788"

---
"Get old outlier_detection job":

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
setup:
- skip:
version: "all"
reason: "Until backport of https://github.com/elastic/elasticsearch/pull/53788"

- do:
index:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
setup:
- skip:
version: "all"
reason: "Until backport of https://github.com/elastic/elasticsearch/pull/53788"

---
"Get old cluster outlier_detection job":

Expand Down

0 comments on commit 687c888

Please sign in to comment.