Add a flush to test in _cat/indices.asciidoc

We test that sorting by `store.size` works but sometimes the
sizes aren't what we expect. At least in CI:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=opensuse/101/console
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+5.x+multijob-unix-compatibility/os=centos/100/console

I haven't been able to reproduce it locally but adding a `_flush`
won't hurt and might make the inconsistency vanish.
This commit is contained in:
Nik Everett 2016-10-13 13:21:57 -04:00
parent e20d9d6478
commit 279baa0284
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ GET /_cat/indices?v&s=store.size:desc
-------------------------------------------------- --------------------------------------------------
// CONSOLE // CONSOLE
// TEST[continued] // TEST[continued]
// TEST[s/^/POST _flush\n/]
Which looks like: Which looks like: