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

[Backport 2.x] Fix AwarenessAttributeDecommissionIT.testConcurrentDecommissionAction #14376

Merged
merged 1 commit into from
Jun 15, 2024

Commits on Jun 15, 2024

  1. Fix AwarenessAttributeDecommissionIT.testConcurrentDecommissionAction (

    …#14372)
    
    The problem is that this test would decommission one of six nodes. The
    tear down logic of the test would attempt to assert on the health of the
    cluster by randomly selecting a node and requesting the cluster health.
    If this random check happened to select the node that was
    decommissioned, then the test would fail. The fix is to recommission
    the node at the end of the test.
    
    Also, the "recommission node and assert cluster health" logic was used
    in multiple places and could be refactored out to a helper method.
    
    Resolves #14290
    Resolves #12197
    
    Signed-off-by: Andrew Ross <andrross@amazon.com>
    (cherry picked from commit 0d38d14)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    8f3fed4 View commit details
    Browse the repository at this point in the history