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>
  • Loading branch information
chriscchien committed Jul 28, 2023
1 parent 19a768b commit da21b68
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 @@ -5439,3 +5439,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 da21b68

Please sign in to comment.