-
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
Add skeleton for test_engine_crash_during_live_upgrade #1712
Add skeleton for test_engine_crash_during_live_upgrade #1712
Conversation
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, one suggestion.
a0fee41
to
31d8cfe
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
@pytest.mark.skip(reason="TODO") # NOQA | ||
def test_engine_crash_during_live_upgrade(): | ||
""" | ||
1. Create and attach a volume to a worklod, then write data into the |
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.
1. Create and attach a volume to a worklod, then write data into the | |
1. Create and attach a volume to a workload, then write data into the |
3. Send live upgrade request then immediately delete the related engine | ||
manager pod/engine process (The new replicas are not in active in this | ||
case). | ||
4. Verify the volume will detach then reattach automatically. |
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.
4. Verify the volume will detach then reattach automatically. | |
4. Verify the workload will be restarted and the volume will be reattached automatically. |
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.
Updated, thank you.
ref: 7859 Signed-off-by: Chris <chris.chien@suse.com>
31d8cfe
to
fc07d30
Compare
Add skeleton for test_engine_crash_during_live_upgrade
ref: 7859
Which issue(s) this PR fixes:
Issue longhorn/longhorn#7859
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context