Skip to content

Commit

Permalink
Merge pull request #1479 from chriscchien/add_skeleton_test_backuptar…
Browse files Browse the repository at this point in the history
…get_invalid

Add test skeleton for test case test_backuptarget_invalid
  • Loading branch information
khushboo-rancher authored Aug 2, 2023
2 parents a2cfbeb + da21b68 commit e0c63d8
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 @@ -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

0 comments on commit e0c63d8

Please sign in to comment.