Skip to content

Fix Reindexer Unit Tests#146062

Merged
joshua-adams-1 merged 1 commit intoelastic:9.4from
joshua-adams-1:fix-reindexer-tests-9.4
Apr 10, 2026
Merged

Fix Reindexer Unit Tests#146062
joshua-adams-1 merged 1 commit intoelastic:9.4from
joshua-adams-1:fix-reindexer-tests-9.4

Conversation

@joshua-adams-1
Copy link
Copy Markdown
Contributor

Reindexer's constructor has changed to take an additional param, but not all unit tests accommodated that. This fixes the issue that caused compilation errors, plus makes the affected unit tests pass by properly
mocking ClusterService. This is the backport of #146014

Closes: #146047

Reindexer's constructor has changed to take an additional param, but
not all unit tests accommodated that. This fixes the issue that caused
compilation errors, plus makes the affected unit tests pass by properly
 mocking ClusterService.

 Closes: elastic#146047
@joshua-adams-1 joshua-adams-1 self-assigned this Apr 10, 2026
@joshua-adams-1 joshua-adams-1 added >test Issues or PRs that are addressing/adding tests :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. labels Apr 10, 2026
Copy link
Copy Markdown
Contributor

@jan-elastic jan-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joshua-adams-1 joshua-adams-1 marked this pull request as ready for review April 10, 2026 13:07
@joshua-adams-1 joshua-adams-1 merged commit 232edfe into elastic:9.4 Apr 10, 2026
37 checks passed
@joshua-adams-1 joshua-adams-1 deleted the fix-reindexer-tests-9.4 branch April 10, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >test Issues or PRs that are addressing/adding tests v9.4.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants