Skip to content

Fix DesiredBalanceReconcilerTests#testFailsNewPrimariesIfNoDataNodes#86432

Merged
DaveCTurner merged 1 commit intoelastic:feature/desired-balance-allocatorfrom
DaveCTurner:2022-05-04-DesiredBalanceReconcilerTests
May 5, 2022
Merged

Fix DesiredBalanceReconcilerTests#testFailsNewPrimariesIfNoDataNodes#86432
DaveCTurner merged 1 commit intoelastic:feature/desired-balance-allocatorfrom
DaveCTurner:2022-05-04-DesiredBalanceReconcilerTests

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

This test was checking that the reconciler does nothing if the desired
balance is empty, but that wasn't the case: if there are no data nodes
then we fail the allocation of new primaries. This commit removes these
unnecessary assertions.

This test was checking that the reconciler does nothing if the desired
balance is empty, but that wasn't the case: if there are no data nodes
then we fail the allocation of new primaries. This commit removes these
unnecessary assertions.
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) labels May 4, 2022
@DaveCTurner DaveCTurner requested a review from idegtiarenko May 4, 2022 16:36
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label May 4, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@DaveCTurner DaveCTurner merged commit 6f3f891 into elastic:feature/desired-balance-allocator May 5, 2022
@DaveCTurner DaveCTurner deleted the 2022-05-04-DesiredBalanceReconcilerTests branch May 5, 2022 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants