[Test] Fix indices.stats/13_fields

Remove the wait_for_active_shards: all added by commit 6256c since it
does not work when the cluster has 1 node only.
This commit is contained in:
Tanguy Leroux 2018-01-17 15:05:07 +01:00
parent 707d8d6fe6
commit 1f66672d6f
1 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,12 @@ setup:
index: test1 index: test1
wait_for_active_shards: all wait_for_active_shards: all
body: body:
settings:
# Limit the number of shards so that shards are unlikely
# to be relocated or being initialized between the test
# set up and the test execution
index.number_of_shards: 3
index.number_of_replicas: 0
mappings: mappings:
bar: bar:
properties: properties:
@ -24,7 +30,6 @@ setup:
- do: - do:
cluster.health: cluster.health:
wait_for_active_shards: all
wait_for_no_relocating_shards: true wait_for_no_relocating_shards: true
- do: - do: