Skip to content

Commit

Permalink
Fix test failures with the new constant_keyword field. (#53153)
Browse files Browse the repository at this point in the history
This test failed because YAML tests randomly install an index template
that updates the default number of shards to 2.

Closes #53131
  • Loading branch information
jpountz authored Mar 5, 2020
1 parent fbdb410 commit dda18fa
Showing 1 changed file with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ setup:
indices.create:
index: test1
body:
settings:
number_of_shards: 1
mappings:
properties:
foo:
Expand All @@ -18,6 +20,8 @@ setup:
indices.create:
index: test2
body:
settings:
number_of_shards: 1
mappings:
properties:
foo:
Expand Down Expand Up @@ -62,9 +66,6 @@ setup:

---
"Term query":
- skip:
version: "all"
reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131"

- do:
search:
Expand Down Expand Up @@ -94,9 +95,6 @@ setup:

---
"Terms query":
- skip:
version: "all"
reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131"

- do:
search:
Expand All @@ -113,9 +111,6 @@ setup:

---
"Prefix query":
- skip:
version: "all"
reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131"

- do:
search:
Expand Down Expand Up @@ -143,9 +138,6 @@ setup:

---
"Wildcard query":
- skip:
version: "all"
reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131"

- do:
search:
Expand Down

0 comments on commit dda18fa

Please sign in to comment.