Skip to content

Commit

Permalink
Merge pull request #1487 from longhorn/mergify/bp/v1.5.x/pr-1479
Browse files Browse the repository at this point in the history
Add test skeleton for test case test_backuptarget_invalid (backport #1479)
  • Loading branch information
khushboo-rancher authored Aug 3, 2023
2 parents 1421257 + 5119663 commit 97f4c0d
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 97f4c0d

Please sign in to comment.