Skip to content

Commit

Permalink
Fix CCS stats test (elastic#115801) (elastic#115965)
Browse files Browse the repository at this point in the history
Set index stats to be refreshed immediately - cached 0 size may be the
reason why it fails.

Fixes elastic#115600

(cherry picked from commit 5f4e681)

# Conflicts:
#	muted-tests.yml
  • Loading branch information
smalyshev authored Oct 30, 2024
1 parent ff46418 commit 99196cb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
body:
settings:
number_of_replicas: 0
store.stats_refresh_interval: 0ms

- do:
index:
Expand All @@ -79,6 +80,10 @@
body:
foo: bar

- do:
indices.flush:
index: test

- do:
cluster.health:
wait_for_status: green
Expand Down

0 comments on commit 99196cb

Please sign in to comment.