X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fsxp%2Ftopology%2F020_Scalability.robot;h=a4acf25d1ba9753a3c84b4565aee486444fb2719;hb=2b1be2ae215a794356a6e67fdd42460ef80e2c4a;hp=1bbeda0803f5983491dc937fe4893c2fccf25f56;hpb=90049f37c57cdafab167f1973b0cd84c4fe385dc;p=integration%2Ftest.git diff --git a/csit/suites/sxp/topology/020_Scalability.robot b/csit/suites/sxp/topology/020_Scalability.robot index 1bbeda0803..a4acf25d1b 100644 --- a/csit/suites/sxp/topology/020_Scalability.robot +++ b/csit/suites/sxp/topology/020_Scalability.robot @@ -18,7 +18,7 @@ Test Mega Topology [Documentation] Stress test that contains of connecting 20 Nodes and exporting their bindings Setup Mega Topology Sleep 5s - ${resp} Get Bindings Master Database 127.0.0.1 + ${resp} Get Bindings 127.0.0.1 : FOR ${num} IN RANGE 2 22 \ ${ip} Get Ip From Number ${num} \ Should Contain Binding ${resp} ${num} ${ip}/32 sxp @@ -27,7 +27,7 @@ Test Complex Mega Topology [Documentation] Stress test that contains of connecting 30 Nodes and exporting their bindings Setup Complex Mega Topology Sleep 5s - ${resp} Get Bindings Master Database 127.0.0.1 + ${resp} Get Bindings 127.0.0.1 : FOR ${num} IN RANGE 22 32 \ ${ip} Get Ip From Number ${num} \ Should Contain Binding ${resp} ${num} ${ip}/32 sxp @@ -40,7 +40,7 @@ Text Bindings export Add Connection version4 listener 127.0.0.2 64999 127.0.0.1 Add Connection version4 speaker 127.0.0.1 64999 127.0.0.2 Sleep 5s - ${resp} Get Bindings Master Database 127.0.0.1 + ${resp} Get Bindings 127.0.0.1 : FOR ${num} IN RANGE 2 102 \ ${ip} Get Ip From Number ${num} \ Should Contain Binding ${resp} ${num} ${ip}/32 sxp @@ -53,6 +53,8 @@ Setup Mega Topology \ Add Binding ${num} ${ip}/32 ${ip} \ Add Connection ${version} listener ${ip} 64999 127.0.0.1 \ Add Connection ${version} speaker 127.0.0.1 64999 ${ip} + \ Wait Until Keyword Succeeds 15 1 Verify Connection ${version} listener + \ ... ${ip} Setup Complex Mega Topology [Arguments] ${version}=version4 @@ -64,10 +66,14 @@ Setup Complex Mega Topology \ Add Binding ${num} ${ip}/32 ${ip} \ Add Connection ${version} listener ${ip} 64999 ${second_ip} \ Add Connection ${version} speaker ${second_ip} 64999 ${ip} + \ Wait Until Keyword Succeeds 15 1 Verify Connection ${version} listener + \ ... ${ip} 64999 ${second_ip} \ ${second_num} Set Variable ${second_num + 1} \ ${second_ip} Get Ip From Number ${second_num} \ Add Connection ${version} listener ${ip} 64999 ${second_ip} \ Add Connection ${version} speaker ${second_ip} 64999 ${ip} + \ Wait Until Keyword Succeeds 15 1 Verify Connection ${version} listener + \ ... ${ip} 64999 ${second_ip} Clean Nodes : FOR ${num} IN RANGE 1 32