Update Robot Framework format - step 14
[integration/test.git] / csit / suites / sxp / topology / 020_Scalability.robot
index 12635ae59b3a75c90c7512490bca47410339eaf3..07776d2ebd040a1f940af5f557f9b4128bf6128b 100644 (file)
@@ -1,31 +1,32 @@
 *** Settings ***
-Documentation     Test suite to test scalability of SXP
-Suite Setup       Setup SXP Environment    31
-Suite Teardown    Clean SXP Environment    31
-Test Setup        Clean Nodes
-Library           RequestsLibrary
-Library           SSHLibrary
-Library           ../../../libraries/Sxp.py
-Resource          ../../../libraries/SxpLib.robot
+Documentation       Test suite to test scalability of SXP
+
+Library             RequestsLibrary
+Library             SSHLibrary
+Library             ../../../libraries/Sxp.py
+Resource            ../../../libraries/SxpLib.robot
+
+Suite Setup         Setup SXP Environment    31
+Suite Teardown      Clean SXP Environment    31
+Test Setup          Clean Nodes
 
-*** Variables ***
 
 *** Test Cases ***
 Test Mega Topology
     [Documentation]    Stress test that contains of connecting 20 Nodes and exporting their bindings
-    [Tags]    SXP    Scalability
+    [Tags]    sxp    scalability
     Setup Mega Topology
     BuiltIn.Wait Until Keyword Succeeds    10    1    Check Binding Range    2    22
 
 Test Complex Mega Topology
     [Documentation]    Stress test that contains of connecting 30 Nodes and exporting their bindings
-    [Tags]    SXP    Scalability
+    [Tags]    sxp    scalability
     Setup Complex Mega Topology
     BuiltIn.Wait Until Keyword Succeeds    10    1    Check Binding Range    22    32
 
 Text Bindings export
     [Documentation]    Stress test that consist of exporting 500 Bindings under 5s
-    [Tags]    SXP    Scalability
+    [Tags]    sxp    scalability
     FOR    ${num}    IN RANGE    2    502
         ${ip} =    Sxp.Get Ip From Number    ${num}
         SxpLib.Add Bindings    ${num}    ${ip}/32    127.0.0.2
@@ -35,6 +36,7 @@ Text Bindings export
     BuiltIn.Wait Until Keyword Succeeds    15    1    Verify Connection    version4    listener    127.0.0.2
     BuiltIn.Wait Until Keyword Succeeds    10    1    Check Binding Range    2    102
 
+
 *** Keywords ***
 Setup Mega Topology
     [Arguments]    ${version}=version4
@@ -50,7 +52,7 @@ Setup Mega Topology
 Setup Complex Mega Topology
     [Arguments]    ${version}=version4
     Setup Mega Topology    ${version}
-    ${second_num}    Convert To Integer    2
+    ${second_num}    Convert To Integer    2
     FOR    ${num}    IN RANGE    22    32
         ${ip} =    Sxp.Get Ip From Number    ${num}
         ${second_ip} =    Sxp.Get Ip From Number    ${second_num}
@@ -68,8 +70,8 @@ Setup Complex Mega Topology
     END
 
 Check Binding Range
-    [Arguments]    ${start}    ${end}    ${node}=127.0.0.1
     [Documentation]    Check if binding range is contained by node
+    [Arguments]    ${start}    ${end}    ${node}=127.0.0.1
     ${resp} =    SxpLib.Get Bindings    ${node}
     FOR    ${num}    IN RANGE    ${start}    ${end}
         ${ip} =    Sxp.Get Ip From Number    ${num}