From: aguilard Date: Wed, 30 Mar 2022 10:55:17 +0000 (+0200) Subject: BASIC21: commented volume checking after deleting NS X-Git-Tag: v12.0.0rc1~32 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=commitdiff_plain;h=801eef850ed70e685d6fea84ef0c4a9f1e41e53b BASIC21: commented volume checking after deleting NS Change-Id: I863dfc9799d19bd3f8080272797ce40b9c46cf3a Signed-off-by: aguilard --- diff --git a/robot-systest/testsuite/basic_21-support_of_volumes.robot b/robot-systest/testsuite/basic_21-support_of_volumes.robot index feb17a2..a4de2ae 100644 --- a/robot-systest/testsuite/basic_21-support_of_volumes.robot +++ b/robot-systest/testsuite/basic_21-support_of_volumes.robot @@ -94,14 +94,14 @@ Get VNF IP Address Set Suite Variable ${vnf_ip_addr} ${ip_addr} -Get Persistent Volume Id - [Tags] cleanup - Variable Should Exist ${ns_id} msg=NS is not available - ${vnfs_list}= Get Ns Vnf List ${ns_id} - ${vim_id}= Get VNF VIM ID ${vnfs_list}[0] - ${volumes_attached}= Get Server Property ${vim_id} volumes_attached - ${match}= Get Regexp Matches ${volumes_attached} '([0-9a-f\-]+)' 1 - Set Suite Variable ${volume_id} ${match}[0] +#Get Persistent Volume Id +# [Tags] cleanup +# Variable Should Exist ${ns_id} msg=NS is not available +# ${vnfs_list}= Get Ns Vnf List ${ns_id} +# ${vim_id}= Get VNF VIM ID ${vnfs_list}[0] +# ${volumes_attached}= Get Server Property ${vim_id} volumes_attached +# ${match}= Get Regexp Matches ${volumes_attached} '([0-9a-f\-]+)' 1 +# Set Suite Variable ${volume_id} ${match}[0] Check VDU disks @@ -120,19 +120,19 @@ Delete NS Instance Test Delete NS ${ns_name} -Check Persistent Volume Was Deleted - [Tags] cleanup - Variable Should Exist ${volume_id} msg=Volume is not available - ${exists}= Check If Volume Exists ${volume_id} - log ${exists} - IF ${exists}==0 - Fail msg=Persistent volume was deleted - Set Suite Variable ${volume_id} ${EMPTY}} - ELSE - log Persistent volume still exists, deleting... - Delete Volume ${volume_id} - Set Suite Variable ${volume_id} ${EMPTY}} - END +#Check Persistent Volume Was Deleted +# [Tags] cleanup +# Variable Should Exist ${volume_id} msg=Volume is not available +# ${exists}= Check If Volume Exists ${volume_id} +# log ${exists} +# IF ${exists}==0 +# Fail msg=Persistent volume was deleted +# Set Suite Variable ${volume_id} ${EMPTY}} +# ELSE +# log Persistent volume still exists, deleting... +# Delete Volume ${volume_id} +# Set Suite Variable ${volume_id} ${EMPTY}} +# END Delete NS Descriptor Test @@ -155,4 +155,4 @@ Suite Cleanup Run Keyword If Any Tests Failed Delete VNFD ${vnfd_name} - Run Keyword If Any Tests Failed Check Volume Was Deleted +# Run Keyword If Any Tests Failed Check Volume Was Deleted