OSM Repo library for robot tests
[osm/tests.git] / robot-systest / testsuite / heal_02-scale_vdu_healing.robot
index bf88510..86886ef 100644 (file)
@@ -49,10 +49,10 @@ ${nsd_pkg}   volumes_nativecharm_ns
 ${nsd_name}   volumes_nativecharm-ns
 
 # NS instance name and configuration
-${flavor_name}   osm.heal_02
+${flavor_name_prefix}   osm.heal02
 ${ns_name}   heal_02
 ${ns_timeout}   6min
-${scale_wait_time}   4min
+${scale_wait_time}   5min
 
 # SSH keys and username to be used
 ${publickey}   %{HOME}/.ssh/id_rsa.pub
@@ -77,7 +77,8 @@ Create NS Descriptor
 
 
 Create Test Flavor
-    Delete Flavor   ${flavor_name}
+    ${rand}=   Generate Random String   6   [NUMBERS]
+    ${flavor_name}=   Catenate   SEPARATOR=_   ${flavor_name_prefix}   ${rand}
     ${id}=   Create Flavor   ${flavor_name}   1   1024   10
     Set Suite Variable   ${flavor_id}   ${id}