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

tests: wait for messages before adding a node to cluster #18426

Merged
merged 1 commit into from
May 14, 2024

Conversation

mmaslankaprv
Copy link
Member

@mmaslankaprv mmaslankaprv commented May 13, 2024

In the test_decommissioning_rebalancing_node test case we check if a node that joined the cluster and have some partitions assigned to it in the process of data rebalancing can be successfully decommissioned.

The test was flaky as sometimes all the partition rebalance actions were finished before we validated if rebalance started.

Added a condition to make sure that we wait for more data before adding the node to cluster to make sure rebalance will last long enough for the decommission to interrupt it.

Fixes: #13522

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.1.x
  • v23.3.x
  • v23.2.x

Release Notes

  • none

In the `test_decommissioning_rebalancing_node` test case we check if a
node that joined the cluster and have some partitions assigned to it in
the process of data rebalancing can be successfully decommissioned.

The test was flaky as sometimes all the partition rebalance actions were
finished before we validated if rebalance started.

Added a condition to make sure that we wait for more data before adding
the node to cluster to make sure rebalance will last long enough for the
decommission to interrupt it.

Fixes: redpanda-data#13522

Signed-off-by: Michał Maślanka <michal@redpanda.com>
@vbotbuildovich
Copy link
Collaborator

@dotnwat dotnwat merged commit c714906 into redpanda-data:dev May 14, 2024
20 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v24.1.x

@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI Failure (timeout on partition move) in NodesDecommissioningTest.test_decommissioning_rebalancing_node
4 participants