-
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
fix(system-backup): wait for last backup of volume updated #2221
base: master
Are you sure you want to change the base?
fix(system-backup): wait for last backup of volume updated #2221
Conversation
WalkthroughThe pull request introduces modifications to the system backup restoration test within the integration test suite. It adds an import statement for Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (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 (
|
return backup_volume | ||
|
||
bv = create_system_backup_and_assert_volume_backup_count(1) | ||
check_volume_last_backup(client, volume_name, bv.lastBackupName) |
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.
Do you think it would make sense to move check_volume_last_backup into create_system_backup_and_assert_volume_backup_count?
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.
Yes, it could be moved into the create_system_backup_and_assert_volume_backup_count
, and I will have an update soon. Thanks.
Modify the test case: - `test_system_backup_with_volume_backup_policy_if_not_present` to wait for the last backup of the volume updated when creating the first backup. Signed-off-by: James Lu <jamesluhz@gmail.com>
c69f835
to
f857ed8
Compare
Which issue(s) this PR fixes:
Issue #
What this PR does / why we need it:
Modify the test case:
test_system_backup_with_volume_backup_policy_if_not_present
to wait for the last backup of the volume to be updated when creating the first backup.
Special notes for your reviewer:
Additional documentation or context
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7935/re-run: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7945/
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes