Relax get entity timeouts 74/98874/7
authorTomas Cere <tomas.cere@pantheon.tech>
Tue, 7 Dec 2021 11:40:01 +0000 (12:40 +0100)
committerLuis Gomez <ecelgp@gmail.com>
Wed, 16 Feb 2022 18:55:27 +0000 (18:55 +0000)
Due to split brain resolver there can be a period of time
when the cluster is settling and its yet to make a decision
on whether to down a node.

JIRA: CONTROLLER-2025
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I7b1f418a0e727a49fe5aca9927f0891e37ab2d75

csit/libraries/ClusterOpenFlow.robot

index 0fd46fb89403ec3ab18d0443d654a7b3c22e427b..5c1176c319dec769117e63453af951c33fc513ac 100644 (file)
@@ -42,7 +42,7 @@ Check OpenFlow Shards Status After Cluster Event
 Get OpenFlow Entity Owner Status For One Device
     [Arguments]    ${device}    ${controller_index}    ${controller_index_list}=${EMPTY}    ${after_stop}=False
     [Documentation]    Check Entity Owner Status and identify owner and successors for the device ${device}. Request is sent to controller ${controller_index}.
-    ${owner}    ${successor_list}    Wait Until Keyword Succeeds    10s    1s    ClusterManagement.Verify_Owner_And_Successors_For_Device    device_name=${device}
+    ${owner}    ${successor_list}    Wait Until Keyword Succeeds    30s    1s    ClusterManagement.Verify_Owner_And_Successors_For_Device    device_name=${device}
     ...    device_type=openflow    member_index=${controller_index}    candidate_list=${controller_index_list}    after_stop=${after_stop}
     [Return]    ${owner}    ${successor_list}
 
@@ -70,7 +70,7 @@ Check No OpenFlow Network Operational Information
     CompareStream.Run_Keyword_If_At_Most_Fluorine    Wait Until Keyword Succeeds    5s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${RFC8040_OPERATIONAL_NODES_API}    dictionary=${dictionary}
     ...    member_index_list=${controller_index_list}
     ${dictionary}    Create Dictionary    openflow=0
-    Wait Until Keyword Succeeds    5s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${RFC8040_OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
+    Wait Until Keyword Succeeds    20s    2s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${RFC8040_OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
 
 Add Sample Flow And Verify
     [Arguments]    ${controller_index}    ${controller_index_list}=${EMPTY}