Skip to content

Commit

Permalink
Re enable ml bwc tests (#32916)
Browse files Browse the repository at this point in the history
[ML] Re-enabling BWC tests

Re-enable BWC tests for ML now that #32816 has been backported to 6.x
  • Loading branch information
edsavage authored Aug 16, 2018
1 parent d604b3e commit 62559d2
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,8 @@ public AnalysisConfig(StreamInput in) throws IOException {
}

// BWC for removed per-partition normalization
// Version check is temporarily against the latest to satisfy CI tests
// TODO change to V_6_5_0 after successful backport to 6.x
if (in.getVersion().before(Version.V_7_0_0_alpha1)) {
// TODO Remove in 7.0.0
if (in.getVersion().before(Version.V_6_5_0)) {
in.readBoolean();
}
}
Expand Down Expand Up @@ -197,9 +196,8 @@ public void writeTo(StreamOutput out) throws IOException {
}

// BWC for removed per-partition normalization
// Version check is temporarily against the latest to satisfy CI tests
// TODO change to V_6_5_0 after successful backport to 6.x
if (out.getVersion().before(Version.V_7_0_0_alpha1)) {
// TODO Remove in 7.0.0
if (out.getVersion().before(Version.V_6_5_0)) {
out.writeBoolean(false);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
---
setup:
- skip:
version: "all"
reason: "Temporarily disabled while backporting https://github.com/elastic/elasticsearch/pull/32816"

---
"Test get old cluster job":
- do:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
---
setup:
- skip:
version: "all"
reason: "Temporarily disabled while backporting https://github.com/elastic/elasticsearch/pull/32816"

---
"Test old cluster datafeed":
- do:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
---
setup:
- skip:
version: "all"
reason: "Temporarily disabled while backporting https://github.com/elastic/elasticsearch/pull/32816"

---
"Put job on the old cluster and post some data":

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
---
setup:
- skip:
version: "all"
reason: "Temporarily disabled while backporting https://github.com/elastic/elasticsearch/pull/32816"

---
"Put job and datafeed in old cluster":

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
setup:
- skip:
version: "all"
reason: "Temporarily disabled while backporting https://github.com/elastic/elasticsearch/pull/32816"

- do:
cluster.health:
wait_for_status: green
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
setup:
- skip:
version: "all"
reason: "Temporarily disabled while backporting https://github.com/elastic/elasticsearch/pull/32816"

- do:
cluster.health:
wait_for_status: green
Expand Down

0 comments on commit 62559d2

Please sign in to comment.