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