Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / openflowplugin / Maximum_Switches / 010__finding_max_switches.robot
index 8b01bcf073cff1815d16da7d65802da3f9d17fef..74ee2ebf5080a2e9127ddec2e0561c315986260a 100644 (file)
@@ -23,11 +23,12 @@ Find Max Switches
     ${start}=    Convert to Integer    ${MIN_SWITCHES}
     ${stop}=    Convert to Integer    ${MAX_SWITCHES}
     ${step}=    Convert to Integer    ${STEP_SWITCHES}
-    : FOR    ${switches}    IN RANGE    ${start}    ${stop+1}    ${step}
-    \    ${status}    ${error_message}    ${topology_discover_time}    WorkflowsOpenFlow.Workflow Linear Topology    ${switches}
-    \    Exit For Loop If    '${status}' == 'FAIL'
-    \    ${maximum_switches}=    Set variable    ${switches}
-    \    ${discover_time}=    Set Variable    ${topology_discover_time}
+    FOR    ${switches}    IN RANGE    ${start}    ${stop+1}    ${step}
+        ${status}    ${error_message}    ${topology_discover_time}    WorkflowsOpenFlow.Workflow Linear Topology    ${switches}
+        Exit For Loop If    '${status}' == 'FAIL'
+        ${maximum_switches}=    Set variable    ${switches}
+        ${discover_time}=    Set Variable    ${topology_discover_time}
+    END
     Log to console    ${\n}
     Log To Console    Execution stopped because: ${error_message}
     Log To Console    Max Switches: ${maximum_switches}