Scalability of VMs in COE
[integration/test.git] / csit / suites / coe / Pods_Scalability_Tests.robot
index f63f84f5f9172e7549ac3bf3897e4dec0d3d2c07..7258bdc98f68fabd7688f1b8591f58331195bf65 100644 (file)
@@ -13,12 +13,21 @@ Resource          ../../variables/netvirt/Variables.robot
 Resource          ../../variables/Variables.robot
 
 *** Variables ***
-${NO_OF_PODS_PER_VM}    15
+${NO_OF_PODS_PER_VM}    9
 
 *** Test Cases ***
 Verify Connectivity Between Pods
-    : FOR    ${i}    IN RANGE    1    ${NO_OF_PODS_PER_VM}+1
-    \    Coe.Create Pods    ssd    busybox${i}.yaml    busybox${i}
-    \    Coe.Create Pods    ssl    pod${i}.yaml    pod${i}
+    Assign Labels
     BuiltIn.Wait Until Keyword Succeeds    55s    2s    Coe.Check Pod Status Is Running
     Coe.Collect Pod Names and Ping
+
+*** Keywords ***
+Apply label and Create pods
+    [Arguments]    ${label}
+    : FOR    ${i}    IN RANGE    1    ${NO_OF_PODS_PER_VM}+1
+    \    Coe.Create Pods    ${label}    ${label}-busybox${i}.yaml    ${label}-busybox${i}
+
+Assign Labels
+    : FOR    ${i}    IN RANGE    1    ${NUM_TOOLS_SYSTEM}
+    \    ${label} =    BuiltIn.Set Variable    ss${i}
+    \    Apply label and Create pods    ${label}