Skip to content

Commit

Permalink
Fix yaml tests
Browse files Browse the repository at this point in the history
  • Loading branch information
costin committed Feb 8, 2024
1 parent fe81918 commit ab01f0b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
---
"unsupported and invalid mapped fields":
- skip:
version: " - 8.11.99"
reason: "fixes in 8.12 or later"
version: " - 8.12.99"
reason: "fixes in 8.13 or later"
- do:
indices.create:
index: index1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,9 @@ version:

---
id:
- skip:
version: " - 8.12.99"
reason: "_source is available in 8.13+"
- do:
indices.create:
index: test
Expand Down Expand Up @@ -683,8 +686,8 @@ unsigned_long:
---
_source:
- skip:
version: " - 8.11.99"
reason: "_source is available in 8.12+"
version: " - 8.12.99"
reason: "_source is available in 8.13+"

- do:
bulk:
Expand Down Expand Up @@ -746,8 +749,8 @@ _source keep all:
---
_source disabled:
- skip:
version: " - 8.11.99"
reason: "_source is available in 8.12+"
version: " - 8.12.99"
reason: "_source is available in 8.13+"

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ setup:

---
load everything:
- skip:
version: " - 8.12.99"
reason: "_source is available in 8.13+"
- do:
allowed_warnings_regex:
- "Field \\[.*\\] cannot be retrieved, it is unsupported or not indexed; returning null"
Expand Down Expand Up @@ -231,8 +234,8 @@ from index pattern explicit counter use:
---
_source:
- skip:
version: " - 8.11.99"
reason: "_source is available in 8.12+"
version: " - 8.12.99"
reason: "_source is available in 8.13+"

- do:
bulk:
Expand Down

0 comments on commit ab01f0b

Please sign in to comment.