Skip to content

Expand custom IndexInput testing to cover Lucene's BaseDirectoryTestCase #115646

Open
@ChrisHegarty

Description

@ChrisHegarty

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.:Search Foundations/SearchCatch all for Search Foundations>testIssues or PRs that are addressing/adding testsTeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.Team:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions