From 5119663f6965d8bd60f424cd86f440a88f47792e Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 28 Jul 2023 15:02:53 +0800 Subject: [PATCH] Add test skeleton for test case test_backuptarget_invalid ref: 1249 Signed-off-by: Chris (cherry picked from commit da21b684ba0124581211360c05a493e820a37a43) --- manager/integration/tests/test_basic.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/manager/integration/tests/test_basic.py b/manager/integration/tests/test_basic.py index b5e75cc34a..b59b07e302 100644 --- a/manager/integration/tests/test_basic.py +++ b/manager/integration/tests/test_basic.py @@ -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