Fix robot test basic_20 11/12011/1
authorDavid Garcia <david.garcia@canonical.com>
Fri, 6 May 2022 13:39:11 +0000 (15:39 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Fri, 6 May 2022 13:39:11 +0000 (15:39 +0200)
- Remove the "Check Number of not duplicated applications". There are
not duplicated applications when scaling native charms.

Change-Id: I5b5ee2cb4aea116c17ea790556691846bd3910f7
Signed-off-by: David Garcia <david.garcia@canonical.com>
robot-systest/testsuite/basic_20-manual_native_charm_vdu_scaling.robot

index d23b280..3637f56 100644 (file)
@@ -95,15 +95,6 @@ Check Number of Duplicated Application Name Before Scale Out
     Run Keyword Unless  ${count_duplicated} == 2  Fail  msg=There are not 2 application name in the application list before Scale Out
 
 
-Check Number of not Duplicated Application Name Before Scale Out
-    [Documentation]    Check the application if there is only one application in the Juju model.
-
-    ${app_list}=  Remove Duplicates  ${application_list}
-    Log List  ${app_list}
-    ${count}=  Get Length  ${app_list}
-    Run Keyword Unless  1 == ${count}  Fail  msg=There is not only 1 application in the Juju model before Scale Out
-
-
 Perform Manual Vdu Scale Out
 
     Variable Should Exist  ${ns_id}  msg=Network service instance is not available
@@ -135,15 +126,6 @@ Check Number of Duplicated Application Name After Scale Out
     Run Keyword Unless  ${count_duplicated} == 3  Fail  msg=There are not 2 application name in the application list after Scale Out
 
 
-Check Number of not Duplicated Application Name After Scale Out
-    [Documentation]    Check the application if there is only one application in the Juju model.
-
-    ${app_list}=  Remove Duplicates  ${application_list}
-    Log List  ${app_list}
-    ${count}=  Get Length  ${app_list}
-    Run Keyword Unless  1 == ${count}  Fail  msg=There is not only 1 application in the Juju model after Scale Out
-
-
 Perform Manual Vdu Scale In
 
     Variable Should Exist  ${ns_id}  msg=Network service instance is not available
@@ -175,15 +157,6 @@ Check Number of Duplicated Application Name After Scale In
     Run Keyword Unless  ${count_duplicated} == 2  Fail  msg=There are not 2 application name in the application list after Scale In
 
 
-Check Number of not Duplicated Application Name After Scale In
-    [Documentation]    Check the application if there is only one application in the Juju model.
-
-    ${app_list}=  Remove Duplicates  ${application_list}
-    Log List  ${app_list}
-    ${count}=  Get Length  ${app_list}
-    Run Keyword Unless  1 == ${count}  Fail  msg=There is not only 1 application in the Juju model after Scale In
-
-
 Delete NS Instance
     [Tags]   cleanup