This test is passing on both Lucene and Elasticsearch, but exposes the problem in the staleness checker as reported in issue 9482. When running the test, the RepositoryNotFoundException can be seen in the logs. Bug: Issue 9482 Change-Id: I3dfe66e0f2051a6743963c1660ba435b1f8694d3