Adjusting wait time in scalability test
authorLuis Gomez <ecelgp@gmail.com>
Sun, 26 Apr 2015 19:19:15 +0000 (12:19 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Sun, 26 Apr 2015 19:19:15 +0000 (12:19 -0700)
Change-Id: I1435bbbf2f7b6eec0d19c46ba736269bdc3a813c
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
test/csit/libraries/Scalability.txt

index 68f18d89c5696ffb95b4cf478135942a116748a0..7569550d9ceef6de5a15bf64a77dfbde237a3f57 100644 (file)
@@ -14,17 +14,17 @@ Find Max Switches
     ${step}    Convert to Integer    ${step}
     : FOR    ${switches}    IN RANGE    ${start}    ${stop+1}    ${step}
     \    Start Mininet Linear    ${switches}
-    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    60s    2s
+    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    ${switches*2}    5s
     \    ...    Check Every Switch    ${switches}
     \    Return From Keyword If    '${status}' == 'FAIL'
-    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    60s    2s
+    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    ${switches*2}    5s
     \    ...    Check Linear Topology    ${switches}
     \    Return From Keyword If    '${status}' == 'FAIL'
     \    Stop Mininet
-    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    60s    2s
+    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    ${switches*2}    5s
     \    ...    Check No Switches    ${switches}
     \    Return From Keyword If    '${status}' == 'FAIL'
-    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    60s    2s
+    \    ${status}    ${result}    Run Keyword And Ignore Error    Wait Until Keyword Succeeds    ${switches*2}    5s
     \    ...    Check No Topology    ${switches}
     \    Return From Keyword If    '${status}' == 'FAIL'
     \    ${max-switches}    Convert To String    ${switches}