Try to fix test another way.....

Explictly create the index rather than skip adding the default
template....
This commit is contained in:
Nik Everett 2020-02-24 16:12:53 -05:00
parent a1e7429ccc
commit d48870ef94
1 changed files with 19 additions and 9 deletions

View File

@ -156,9 +156,12 @@
--- ---
"sort by keyword field fails": "sort by keyword field fails":
- skip: - do:
features: default_shards indices.create:
reason: The failure message isn't predictable with more than one shard index: test
body:
settings:
number_of_shards: 1 # The failure message isn't predictable with more than one shard
- do: - do:
bulk: bulk:
@ -183,9 +186,13 @@
--- ---
"sort by score": "sort by score":
- skip: - do:
features: default_shards indices.create:
reason: Scores aren't predictable with many shards index: test
body:
settings:
number_of_shards: 1 # The score isn't predictable with more than one shard
- do: - do:
bulk: bulk:
index: test index: test
@ -243,9 +250,12 @@
--- ---
"sort by string script fails": "sort by string script fails":
- skip: - do:
features: default_shards indices.create:
reason: The failure message isn't predictable with more than one shard index: test
body:
settings:
number_of_shards: 1 # The failure message isn't predictable with more than one shard
- do: - do:
bulk: bulk: