Fix tox errors
[integration/test.git] / csit / suites / controller / dom_rpc_broker / rpc_provider_partition_and_heal.robot
index f82a1ef83abc68ea04c790dd2cdb47fa350314c8..6932715a4d736b916584f47acfb91fee6b5c0f30 100644 (file)
@@ -23,7 +23,6 @@ Resource          ${CURDIR}/../../../libraries/WaitForFailure.robot
 *** Variables ***
 @{INSTALLED_RPC_MEMEBER_IDX_LIST}    ${1}    ${2}
 ${TESTED_MEMBER_WITHOUT_RPC_IDX}    ${3}
-@{NON_WORKING_RPC_STATUS_CODE}    ${501}
 
 *** Test Cases ***
 Register_Rpc_On_Two_Nodes
@@ -45,14 +44,9 @@ Isolate_One_Node
     BuiltIn.Set_Suite_Variable    ${isolated_idx}
     DrbCommons.Isolate_Node    ${isolated_idx}
 
-Invoke_Rpc_On_Isolated_Node
-    [Documentation]    Invoke rpc on isolated node. Because rpc is registered on this node, local constant
-    ...    is expected.
-    BuiltIn.Wait_Until_Keyword_Succeeds    3x    2s    DrbCommons.Verify_Constant_On_Registered_Node    ${isolated_idx}
-
-Invoke_Rpc_On_Remaining_Nodes
+Invoke_Rpc_On_Nonisolated_Nodes
     [Documentation]    Invoke rpc on non-islolated nodes.
-    DrbCommons.Verify_Constant_On_Active_Nodes
+    BuiltIn.Wait_Until_Keyword_Succeeds    60s    5s    DrbCommons.Verify_Constant_On_Active_Nodes
 
 Rejoin_Isolated_Member
     [Documentation]    Rejoin isolated node
@@ -64,22 +58,6 @@ Invoke_Rpc_On_Each_Node_Again
     ...    value is expected.
     WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout    20s    3s    DrbCommons.Verify_Constant_On_Active_Nodes
 
-Isolate_Member_Without_Registered_Rpc
-    [Documentation]    Isolate one node with unregistered rpc.
-    DrbCommons.Isolate_Node    ${TESTED_MEMBER_WITHOUT_RPC_IDX}
-
-Verify_Rpc_Fails_On_Isolated_Member_Without_Rpc
-    [Documentation]    Rpc should fail as it is requested on isolated node without rpc instance.
-    BuiltIn.Wait_Until_Keyword_Succeeds    15s    2s    MdsalLowlevel.Get_Constant    ${TESTED_MEMBER_WITHOUT_RPC_IDX}    explicit_status_codes=${NON_WORKING_RPC_STATUS_CODE}
-
-Rejoin_Isolated_Member_Without_Registered_Rpc
-    [Documentation]    Rejoin isolated node.
-    DrbCommons.Rejoin_Node    ${TESTED_MEMBER_WITHOUT_RPC_IDX}
-
-Verify_Rpc_Again_Passes_On_Member_Without_Rpc
-    [Documentation]    Verify rpc works after the node rejoin.
-    BuiltIn.Wait_Until_Keyword_Succeeds    10x    3s    DrbCommons.Verify_Constant_On_Unregistered_Node    ${TESTED_MEMBER_WITHOUT_RPC_IDX}
-
 Unregister_Rpc_On_Each_Node
     [Documentation]    Inregister rpc on both nodes.
     DrbCommons.Unregister_Rpc_On_Nodes    ${INSTALLED_RPC_MEMEBER_IDX_LIST}
@@ -87,5 +65,5 @@ Unregister_Rpc_On_Each_Node
 *** Keywords ***
 Setup_Kw
     [Documentation]    Setup keyword. Create ${possible_constants} list with possible variables of remote constants.
-    SetupUtils.Setup_Utils_For_Setup_And_Teardown    http_timeout=30
+    SetupUtils.Setup_Utils_For_Setup_And_Teardown    http_timeout=125
     DrbCommons.DrbCommons_Init