Skip to content

Commit

Permalink
[Tests] Update skip version for YAML tests (#52310) (#52325)
Browse files Browse the repository at this point in the history
Update skip versions upper boundary to match the release
or intented release version of the feature/fix.

(cherry picked from commit ea6f0e3)
  • Loading branch information
matriv committed Feb 13, 2020
1 parent 92722b0 commit 4e28d40
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

setup:
- skip:
version: " - 7.09.99"
reason: "random score function of script score was added in 7.1"
version: " - 7.1.99"
reason: "random score function of script score was added in 7.2"

---
"Random score function with _seq_no field":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
---
"Close index response with result per index":
- skip:
version: " - 7.99.99"
reason: "close index response reports result per index starting version 8.0.0"
version: " - 7.2.99"
reason: "close index response reports result per index starting version 7.3.0"

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ setup:
---
"Mixed ip and unmapped fields":
- skip:
version: " - 7.99.99"
version: " - 7.5.99"
reason: This will fail against 7.x until the fix is backported there
# It is important that the index *without* the ip field be sorted *before*
# the index *with* the ip field because that has caused bugs in the past.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
setup:
- skip:
version: " - 7.99.99" #TODO change this after backport
reason: These new error messages were added in 7.1
version: " - 7.1.99"
reason: These new error messages were added in 7.2

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ setup:
---
"Create a snapshot and clean up repository":
- skip:
version: " - 7.99.99"
reason: cleanup introduced in 8.0
version: " - 7.3.99"
reason: cleanup introduced in 7.4

- do:
snapshot.cleanup_repository:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ setup:
---
"Get snapshot info with metadata":
- skip:
version: " - 7.9.99"
reason: "https://github.com/elastic/elasticsearch/pull/41281 not yet backported to 7.x"
version: " - 7.2.99"
reason: "Introduced with 7.3"

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ setup:
---
"Usage stats on frozen indices":
- skip:
version: " - 7.9.99"
reason: "frozen indices have usage stats starting in version 8.0.0"
version: " - 7.3.99"
reason: "frozen indices have usage stats starting in version 7.4"

- do:
index:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"cluster stats with voting only node stats":

- skip:
version: " - 7.99.99"
reason: "voting only nodes are added in v8.0.0"
version: " - 7.2.99"
reason: "voting only nodes are added in v7.3"

- do:
cluster.stats: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ setup:
---
"Put job and datafeed with aggs in old cluster - deprecated interval with warning":
- skip:
version: " - 7.99.99" #TODO change this after backport
reason: calendar_interval introduced in 7.1.0
version: " - 7.1.99"
reason: calendar_interval introduced in 7.2.0
features: warnings

- do:
Expand Down

0 comments on commit 4e28d40

Please sign in to comment.