Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / openflowplugin / Maximum_Switches / 020__find_max_switches.robot
index b2adbc7759cb46108ee84ea15a399667c2d2401a..cd1e8e7fb4a27388b1912f5c898ceb9b17441823 100644 (file)
@@ -22,11 +22,12 @@ Find Max Switches
     ${init_sw}    Convert to Integer    ${init_sw}
     ${max_sw}    Convert to Integer    ${max_sw}
     ${step_sw}    Convert to Integer    ${step_sw}
-    : FOR    ${exp_sw}    IN RANGE    ${init_sw}    ${max_sw+1}    ${step_sw}
-    \    BuiltIn.Wait Until Keyword Succeeds    120s    1s    Verify Switches Connected    ${exp_sw}
-    \    ${max_found}=    Set Variable    ${exp_sw}
-    \    Set Suite variable    ${max_found}
-    \    Add Switches    10
+    FOR    ${exp_sw}    IN RANGE    ${init_sw}    ${max_sw+1}    ${step_sw}
+        BuiltIn.Wait Until Keyword Succeeds    120s    1s    Verify Switches Connected    ${exp_sw}
+        ${max_found}=    Set Variable    ${exp_sw}
+        Set Suite variable    ${max_found}
+        Add Switches    10
+    END
     [Teardown]    Log Store Max Found
 
 *** Keywords ***