Skip to content

Commit 99196cb

Browse files
authored
Fix CCS stats test (elastic#115801) (elastic#115965)
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
1 parent ff46418 commit 99196cb

File tree

1 file changed

+5
-0
lines changed
  • rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cluster.stats

1 file changed

+5
-0
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cluster.stats/30_ccs_stats.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
body:
7171
settings:
7272
number_of_replicas: 0
73+
store.stats_refresh_interval: 0ms
7374

7475
- do:
7576
index:
@@ -79,6 +80,10 @@
7980
body:
8081
foo: bar
8182

83+
- do:
84+
indices.flush:
85+
index: test
86+
8287
- do:
8388
cluster.health:
8489
wait_for_status: green

0 commit comments

Comments
 (0)