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

Add cluster scale down test #183

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Conversation

bjosv
Copy link
Collaborator

@bjosv bjosv commented Aug 29, 2023

The new testcase covers the new behaviour of updating slotmap due to error in sync API (#182).

Adapted from #87.

Covers new behaviour of updating slotmap due to error.
Copy link
Collaborator

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

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

Nice!

Though I don't fully understand which parts of this test case cover the pipelined (AKA deferred) slotmap update using cc->need_update_route and which parts cover the synchronous cluster_update_route() (called on connect failure). Maybe some more comments in the test case can help.

tests/scripts/cluster-scale-down-test.sh Outdated Show resolved Hide resolved
tests/scripts/cluster-scale-down-test.sh Show resolved Hide resolved
tests/scripts/cluster-scale-down-test.sh Outdated Show resolved Hide resolved
Copy link
Collaborator

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

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

Awesome explanations.

@bjosv bjosv merged commit 16e6ee8 into Nordix:master Sep 1, 2023
32 checks passed
@bjosv bjosv deleted the add-scaledown-test branch September 1, 2023 05:29
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.

2 participants