Skip to content

Commit c1750e4

Browse files
[ML] Unmute DFA BWC tests and fix versions after backport of #50914 (#50979)
1 parent 774bfb5 commit c1750e4

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/analyses/BoostedTreeParams.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public BoostedTreeParams(@Nullable Double lambda,
9292
eta = in.readOptionalDouble();
9393
maximumNumberTrees = in.readOptionalVInt();
9494
featureBagFraction = in.readOptionalDouble();
95-
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
95+
if (in.getVersion().onOrAfter(Version.V_7_6_0)) {
9696
numTopFeatureImportanceValues = in.readOptionalInt();
9797
} else {
9898
numTopFeatureImportanceValues = null;
@@ -106,7 +106,7 @@ public void writeTo(StreamOutput out) throws IOException {
106106
out.writeOptionalDouble(eta);
107107
out.writeOptionalVInt(maximumNumberTrees);
108108
out.writeOptionalDouble(featureBagFraction);
109-
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
109+
if (out.getVersion().onOrAfter(Version.V_7_6_0)) {
110110
out.writeOptionalInt(numTopFeatureImportanceValues);
111111
}
112112
}

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/90_ml_data_frame_analytics_crud.yml

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
setup:
2-
- skip:
3-
version: "all"
4-
reason: "Until backport of https://github.com/elastic/elasticsearch/pull/50914"
5-
61
---
72
"Get old outlier_detection job":
83

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/90_ml_data_frame_analytics_crud.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
setup:
2-
- skip:
3-
version: "all"
4-
reason: "Until backport of https://github.com/elastic/elasticsearch/pull/50914"
52

63
- do:
74
index:

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/90_ml_data_frame_analytics_crud.yml

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
setup:
2-
- skip:
3-
version: "all"
4-
reason: "Until backport of https://github.com/elastic/elasticsearch/pull/50914"
5-
61
---
72
"Get old cluster outlier_detection job":
83

0 commit comments

Comments
 (0)