-
Notifications
You must be signed in to change notification settings - Fork 54
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
test(robot): fix Test Migration Confirm for v2 volume #2224
Conversation
WalkthroughThe pull request removes the Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🔇 Additional comments (1)e2e/tests/regression/test_migration.robot (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
e2e/keywords/migration.resource (1)
49-49
: Improve maintainability by documenting reasoning.
Adding an inline comment or docstring about why v2 volumes require identical replicas provides clarity to future maintainers.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
e2e/keywords/migration.resource
(1 hunks)
🔇 Additional comments (1)
e2e/keywords/migration.resource (1)
49-53
: Confirm consistency of engine and replica checks for v2.
This block introduces a conditional check that sets replicas to be the same when DATA_ENGINE is 'v2'. Meanwhile, the engine is always expected to be different (unconditionally). If the intended behavior is to have the engine remain the same as well when DATA_ENGINE is 'v2', consider adding a corresponding conditional check for the engine too.
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.
Suggest removing Volume ${volume_id} migration should succeed
step from the test case directly.
Also, too many typos in the description #2224 (comment).
Signed-off-by: Chris Chien <[email protected]>
d4f866e
to
8b5dd73
Compare
Updated, I also deleted keyword |
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
@mergify backport v1.8.x |
✅ Backports have been created
|
Which issue(s) this PR fixes:
What this PR does / why we need it:
fix
Test Migration Confirm
for v2 volumeSpecial notes for your reviewer:
Additional documentation or context
Test result
v1.8.x v2 data engine : https://ci.longhorn.io/job/private/job/longhorn-e2e-test/2308/
v1.8.x v1 data engine : https://ci.longhorn.io/job/private/job/longhorn-e2e-test/2310/
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes