-
Notifications
You must be signed in to change notification settings - Fork 194
Add an E2E test for a non-centralised multi-datacenter node replacement procedure #2942
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 an E2E test for a non-centralised multi-datacenter node replacement procedure #2942
Conversation
|
Skipping CI for Draft Pull Request. |
|
/test all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds an E2E test for multi-datacenter node replacement procedures that are triggered directly in a datacenter. The test verifies that the ScyllaDB operator can properly handle node replacements initiated by setting a replace label on a service, ensuring the cluster maintains consistency and the replacement node is properly configured.
- Adds a new helper function
IsScyllaDBClusterProgressingto check cluster progression state - Implements a comprehensive E2E test that simulates node replacement in a multi-datacenter environment
- Verifies proper configuration of replacement nodes and cluster state consistency
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| test/e2e/utils/helpers.go | Adds helper function to check if ScyllaDBCluster is in progressing state |
| test/e2e/set/scylladbcluster/multidatacenter/scylladbcluster_replace.go | Implements comprehensive E2E test for multi-datacenter node replacement procedure |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of nits, looks good overall.
test/e2e/set/scylladbcluster/multidatacenter/scylladbcluster_replace.go
Outdated
Show resolved
Hide resolved
test/e2e/set/scylladbcluster/multidatacenter/scylladbcluster_replace.go
Outdated
Show resolved
Hide resolved
358f2b3 to
3cc60d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: czeslavo, rzetelskik The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/test images |
/test images |
/test images |
/retest |
|
/test images |
|
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…ggered directly in a datacenter
3cc60d1 to
b61d2a9
Compare
|
/test all |
|
/test images |
|
/test images |
1 similar comment
|
/test images |
|
/test images |
|
@rzetelskik: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
52bdcd7
into
scylladb:master
Description of your changes: This PR introduces an E2E test for a "manual" (as in non-centralised, but triggered in a given worker cluster) multi-datacenter node replacement procedure. It also unifies the single and multi-dc tests.
Which issue is resolved by this Pull Request:
Part of #2861
/kind new-test
/priority important-soon