Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ setup:
# 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: 2
# The tests in `IndexStatsIT` provide sufficient coverage for multi-shard scenarios.
index.number_of_shards: 1
index.number_of_replicas: 0
mappings:
properties:
bar:
Expand All @@ -25,11 +27,6 @@ setup:
completion:
type: completion

- do:
cluster.health:
index: test1
wait_for_no_relocating_shards: true

- do:
index:
index: test1
Expand Down Expand Up @@ -73,6 +70,14 @@ setup:
body:
sort: [ "bar", "baz" ]

# Wait for the shards to be allocated to avoid missing results in the stats request
# See https://github.com/elastic/elasticsearch/issues/96711#issuecomment-2996311920 for more context
- do:
cluster.health:
index: test1
wait_for_status: green
wait_for_no_relocating_shards: true

---
"Fields - blank":
- do:
Expand Down