Revert "Feature 11001: Robot framework linting for E2E tests"
[osm/tests.git] / robot-systest / testsuite / k8s_11-simple_helm_k8s_scaling.robot
index 528a647..f5a73a7 100644 (file)
@@ -26,7 +26,7 @@ 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_11   cluster_k8s   regression
+Force Tags   k8s_11   cluster_k8s
 
 Suite Teardown   Run Keyword And Ignore Error   Suite Cleanup
 
@@ -82,7 +82,7 @@ Get Scale Count Before Scale Out
 
     Variable Should Exist   ${ns_id}   msg=Network service instance is not available
     ${kdu_count}=   Get Vnf Kdu Replica Count   ${vnf_id}   ${kdu_name}
-    log   ${kdu_count}
+    Log   ${kdu_count}
     Set Suite Variable   ${initial_kdu_count}   ${kdu_count}
 
 Perform Manual KDU Scale Out
@@ -95,8 +95,8 @@ Check Scale Count After Scale Out
 
     Variable Should Exist   ${initial_kdu_count}   msg=Initial KDU count is not available
     ${kdu_count}=   Get Vnf Kdu Replica Count   ${vnf_id}   ${kdu_name}
-    log   ${kdu_count}
-    Run Keyword Unless   ${kdu_count} == ${initial_kdu_count} + 2   Fail   msg=There is no new KDU in the model after Scale Out
+    Log   ${kdu_count}
+    Run Keyword If   ${kdu_count} != ${initial_kdu_count} + 2   Fail   msg=There is no new KDU in the model after Scale Out
 
 Perform Manual KDU Scale In
     [Documentation]   Scale in the application of network service k8s instance.
@@ -107,7 +107,7 @@ Check Scale Count After Scale In
     [Documentation]   Check whether the scale count is one less.
 
     ${kdu_count}=   Get Vnf Kdu Replica Count   ${vnf_id}   ${kdu_name}
-    Run Keyword Unless   ${kdu_count} == ${initial_kdu_count}   Fail   msg=There is the same number of KDU in the model after Scale In
+    Run Keyword If   ${kdu_count} != ${initial_kdu_count}   Fail   msg=There is the same number of KDU in the model after Scale In
 
 Delete NS K8s Instance Test
     [Tags]   cleanup