X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fk8s_04-openldap_helm.robot;h=41baac887f20d30e7035e9faee2c7bb77565a9ea;hb=090cb5cf5ad79439db79568c55a1ad290d52614c;hp=4e27aa866d99e7502a07ac45ad5aa3da5ce8728f;hpb=58710335f2db1e82ec171784891b7cbee71fd360;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/k8s_04-openldap_helm.robot b/robot-systest/testsuite/k8s_04-openldap_helm.robot index 4e27aa8..41baac8 100644 --- a/robot-systest/testsuite/k8s_04-openldap_helm.robot +++ b/robot-systest/testsuite/k8s_04-openldap_helm.robot @@ -25,16 +25,12 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/connectivity_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/k8scluster_lib.robot -Force Tags k8s_04 cluster_k8s daily regression +Force Tags k8s_04 cluster_k8s daily regression sanity azure Suite Teardown Run Keyword And Ignore Error Suite Cleanup *** Variables *** -# K8s cluster name and version -${k8scluster_name} k8s04 -${k8scluster_version} v1 - # NS and VNF descriptor package folder and ids ${vnfd_pkg} openldap_knf ${vnfd_name} openldap_knf @@ -62,10 +58,6 @@ Create Package For OpenLDAP NS [Tags] prepare Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}' -Add K8s Cluster To OSM - [Tags] prepare - Create K8s Cluster %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} - Create Network Service Instance [Tags] prepare ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} @@ -91,7 +83,7 @@ Check Replicas After Upgrade Operation [Tags] verify Variable Should Exist ${ns_id} msg=Network service instance is not available ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${count} + Log ${count} Should Be Equal As Integers ${count} ${replica_count} Execute Rollback Operation @@ -103,17 +95,13 @@ Check Replicas After Rollback Operation [Tags] verify Variable Should Exist ${ns_id} msg=Network service instance is not available ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${count} + Log ${count} Should Be Empty ${count} Delete Network Service Instance [Tags] cleanup Delete NS ${ns_name} -Remove K8s Cluster from OSM - [Tags] cleanup - Delete K8s Cluster ${k8scluster_name} - Delete NS Descriptor Test [Tags] cleanup Delete NSD ${nsd_name} @@ -129,4 +117,3 @@ Suite Cleanup Run Keyword If Any Tests Failed Delete NS ${ns_name} Run Keyword If Any Tests Failed Delete NSD ${nsd_name} Run Keyword If Any Tests Failed Delete VNFD ${vnfd_name} - Run Keyword If Any Tests Failed Delete K8s Cluster ${k8scluster_name}