Skip to content
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 test skeleton for test case test_backuptarget_invalid (backport #1479) #1487

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions manager/integration/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5494,3 +5494,27 @@ def test_filesystem_trim(client, fs_type): # NOQA

client.delete(volume)
wait_for_volume_delete(client, test_volume_name)


@pytest.mark.skip(reason="TODO")
def test_backuptarget_invalid(): # NOQA
"""
Related issue :
https://github.com/longhorn/longhorn/issues/1249

This test case does not cover the UI test mentioned in the related issue's
test steps."

Setup
- Give an incorrect value to Backup target.

Given
- Create a volume, attach it to a workload, write data into the volume.

When
- Create a backup by a manifest yaml file

Then
- Backup will be failed and the backup state is Error.
"""
pass