-
Notifications
You must be signed in to change notification settings - Fork 53
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(integration): refine test_upgrade #2360
base: master
Are you sure you want to change the base?
Conversation
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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 (
|
7bf42f6
to
e8856e7
Compare
|
||
vol_detached_v2 = client.by_id_volume(vol_detached_v2_name) | ||
vol_detached_v2.attach(hostId=host_id) | ||
vol_detached_v2 = wait_for_volume_healthy(client, vol_detached_v2_name) |
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.
Due to these three issues:
Issue #10461
Issue #10131
Issue #10053
I believe v2 volume attach test
can only be applied to versions after 1.9.x
and is not suitable for versions prior to 1.8.x
.
The v2 volume attach test
test steps should only be applicable for the following upgrade scenarios:
- Upgrading from
1.8.1
to1.8.x
- Upgrading to
1.9.x
or later.
Testing cannot proceed for upgrades from1.7.x
to1.8.x
.
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.
Thank you, I have implemented this part in local, will update after my local test complete.
24c388d
to
fd8bb89
Compare
ref: longhorn/longhorn 10539 Signed-off-by: Chris Chien <chris.chien@suse.com>
fd8bb89
to
6e7c254
Compare
Which issue(s) this PR fixes:
Issue #10539
What this PR does / why we need it:
Refine
test_upgrade
, add belwo CRs before Longhorn upgradeAdd below CRs into test case
test_upgrade
no matter the value of environmentRUN_V2_TEST
is:Install Stable Version
Install Transient Version (if available)
Install Test Version
Special notes for your reviewer:
N/A
Additional documentation or context
N/A