Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / controller / cluster_singleton / master_stability.robot
index 1766fa74e65e8b48518865fb088b1f3cb2c04d4c..1f4109cdecfdba7e0d08588a7406d810f16503c6 100644 (file)
@@ -31,7 +31,7 @@ Register_Singleton_Constant_On_Each_Node_And_Verify
     [Documentation]    Register a candidate application on each node.
     CsCommon.Register_Singleton_Constant_On_Nodes    ${cs_all_indices}
     ${owner}    ${candidates}=    CsCommon.Get_And_Save_Present_CsOwner_And_CsCandidates    1
-    BuiltIn.Wait_Until_Keyword_Succeeds    3x    2s    CsCommon.Verify_Singleton_Constant_On_Nodes    ${cs_all_indices}    ${CS_CONSTANT_PREFIX}${owner}
+    BuiltIn.Wait_Until_Keyword_Succeeds    15s    2s    CsCommon.Verify_Singleton_Constant_On_Nodes    ${cs_all_indices}    ${CS_CONSTANT_PREFIX}${owner}
 
 Unregister_Singleton_Constant_On_Non_Master_Node
     [Documentation]    Unregister the application on a non master node.
@@ -57,10 +57,11 @@ Unregister_Singleton_Constant_On_Each_Node
 
 *** Keywords ***
 Setup_Keyword
-    SetupUtils.Setup_Utils_For_Setup_And_Teardown
+    SetupUtils.Setup_Utils_For_Setup_And_Teardown    http_timeout=125
     CsCommon.Cluster_Singleton_Init
 
 Get_Node_Idx_To_Unregister
     [Documentation]    Return the first non owner node from the stored candidate list.
-    : FOR    ${index}    IN    @{cs_candidates}
-    \    BuiltIn.Return_From_Keyword_If    "${index}" != "${cs_owner}"    ${index}
+    FOR    ${index}    IN    @{cs_candidates}
+        BuiltIn.Return_From_Keyword_If    "${index}" != "${cs_owner}"    ${index}
+    END