Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encapsulate IndexShard/IndexService closing in tests #107974

Merged

Commits on Apr 26, 2024

  1. Encapsulate IndexShard/IndexService closing in tests

    Closing an `IndexShard` or an `IndexService` requires some parameters
    that are not really important in tests. This commit encapsulates these
    calls into utility methods to populate those parameters with sensible
    values. Moreover it reduces some unnecessary noise in a follow-up PR
    which will make this closing process a little more complicated in
    production code without affecting all these tests.
    
    Relates elastic#107952
    DaveCTurner committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    5ba9e9d View commit details
    Browse the repository at this point in the history