Custom IndexInput implementations in Elasticsearch should be tested by Lucene's BaseDirectoryTestCase. The BaseDirectoryTestCase exercises many baseline scenarios that any implementation should adhere to.
This issue has been filed when we identified a bug in the BlobCacheBufferedIndexInput (#115594), which would likely have been caught if testing used BaseDirectoryTestCase.
Custom IndexInput implementations in Elasticsearch should be tested by Lucene's
BaseDirectoryTestCase
. TheBaseDirectoryTestCase
exercises many baseline scenarios that any implementation should adhere to.This issue has been filed when we identified a bug in the
BlobCacheBufferedIndexInput
(#115594), which would likely have been caught if testing usedBaseDirectoryTestCase
.