Skip to content

Commit 3ef69ad

Browse files
[ML] Unmute DFA bwc tests after backport of #53998 (#54063)
Relates #53998
1 parent 4cf1d1a commit 3ef69ad

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/action/GetDataFrameAnalyticsStatsAction.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public Stats(StreamInput in) throws IOException {
203203
} else {
204204
progress = in.readList(PhaseProgress::new);
205205
}
206-
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
206+
if (in.getVersion().onOrAfter(Version.V_7_7_0)) {
207207
dataCounts = in.readOptionalWriteable(DataCounts::new);
208208
} else {
209209
dataCounts = null;
@@ -349,7 +349,7 @@ public void writeTo(StreamOutput out) throws IOException {
349349
} else {
350350
out.writeList(progress);
351351
}
352-
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
352+
if (out.getVersion().onOrAfter(Version.V_7_7_0)) {
353353
out.writeOptionalWriteable(dataCounts);
354354
}
355355
if (out.getVersion().onOrAfter(Version.V_7_7_0)) {

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/53998"
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/53998"
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/53998"
5-
61
---
72
"Get old cluster outlier_detection job":
83

0 commit comments

Comments
 (0)