Skip to content

Commit

Permalink
[ML] Unmute DFA BWC tests and fix versions after backport of elastic#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitris-athanasiou committed Jan 14, 2020
1 parent 5809912 commit 3dc100f
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 @@ -92,7 +92,7 @@ public BoostedTreeParams(@Nullable Double lambda,
eta = in.readOptionalDouble();
maximumNumberTrees = in.readOptionalVInt();
featureBagFraction = in.readOptionalDouble();
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
if (in.getVersion().onOrAfter(Version.V_7_6_0)) {
numTopFeatureImportanceValues = in.readOptionalInt();
} else {
numTopFeatureImportanceValues = null;
Expand All @@ -106,7 +106,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeOptionalDouble(eta);
out.writeOptionalVInt(maximumNumberTrees);
out.writeOptionalDouble(featureBagFraction);
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
if (out.getVersion().onOrAfter(Version.V_7_6_0)) {
out.writeOptionalInt(numTopFeatureImportanceValues);
}
}
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/50914"

---
"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/50914"

- 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/50914"

---
"Get old cluster outlier_detection job":

Expand Down

0 comments on commit 3dc100f

Please sign in to comment.