Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / controller / Clustering_Datastore / car_outage_corners.robot
index 13782311c608396d1b7271c729e3e13c2be5a287..ef184f5f09b5777d947254b45345f783d04de651 100644 (file)
@@ -44,11 +44,12 @@ Stop_Majority_Of_The_Followers
     [Documentation]    Stop half plus one car Follower members and set reviving followers down (otherwsise tipping followers cannot join cluster).
     ...    Mark most of stopped members as explicitly down, to allow the surviving leader make progress.
     ClusterManagement.Stop_Members_From_List_Or_All    member_index_list=${list_of_stopping}    confirm=True
-    : FOR    ${index}    IN    @{list_of_reviving}
-    \    ${data}    OperatingSystem.Get File    ${CLUSTER_DIR}/member_down.json
-    \    ${member_ip} =    Collections.Get_From_Dictionary    ${ClusterManagement__index_to_ip_mapping}    ${index}
-    \    ${data}    String.Replace String    ${data}    {member_ip}    ${member_ip}
-    \    TemplatedRequests.Post_To_Uri    uri=jolokia    data=${data}    content_type=${HEADERS}    accept=${ACCEPT_EMPTY}    session=${car_leader_session}
+    FOR    ${index}    IN    @{list_of_reviving}
+        ${data}    OperatingSystem.Get File    ${CLUSTER_DIR}/member_down.json
+        ${member_ip} =    Collections.Get_From_Dictionary    ${ClusterManagement__index_to_ip_mapping}    ${index}
+        ${data}    String.Replace String    ${data}    {member_ip}    ${member_ip}
+        TemplatedRequests.Post_To_Uri    uri=jolokia    data=${data}    content_type=${HEADERS}    accept=${ACCEPT_EMPTY}    session=${car_leader_session}
+    END
 
 Attempt_To_Add_Cars_To_Leader
     [Documentation]    Adding cars should fail, as majority of Followers are down.
@@ -70,8 +71,9 @@ Add_Cars_On_Tipping_Follower
 
 See_Cars_On_Existing_Members
     [Documentation]    On each up member: GET cars, should match the ones added on tipping Follower.
-    : FOR    ${session}    IN    @{list_of_majority}
-    \    TemplatedRequests.Get_As_Json_Templated    folder=${VAR_DIR}/cars    session=${session}    verify=True    iterations=${CAR_ITEMS}    iter_start=${MAJORITY_START_I}
+    FOR    ${session}    IN    @{list_of_majority}
+        TemplatedRequests.Get_As_Json_Templated    folder=${VAR_DIR}/cars    session=${session}    verify=True    iterations=${CAR_ITEMS}    iter_start=${MAJORITY_START_I}
+    END
 
 Start_Other_Followers
     [Documentation]    Start other followers without persisted data.