Skip to content

Commit

Permalink
Add test skeleton for test case test_backuptarget_invalid
Browse files Browse the repository at this point in the history
ref: 1249

Signed-off-by: Chris <chris.chien@suse.com>
(cherry picked from commit da21b68)
  • Loading branch information
chriscchien authored and mergify[bot] committed Aug 2, 2023
1 parent c1a3715 commit 19e654a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions manager/integration/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5369,3 +5369,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

0 comments on commit 19e654a

Please sign in to comment.