Remove check for ownership change
[integration/test.git] / csit / suites / controller / cluster_singleton / chasing_the_leader.robot
index 31d6c79c5d6b018e774111e98a8a0bd7970d75c8..63e83526aa7425a2a7934185b566a9774315f0ad 100644 (file)
@@ -21,8 +21,13 @@ Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
 
 *** Variables ***
 ${TEST_DURATION}    1m
-${ACCEPTED_PER_SEC_RATE}    100
-${ACCEPTED_PER_SEC_RATE_CARBON}    5
+${ACCEPTED_PER_SEC_RATE}    5
+# NOTE: The shared infra that we use can sometimes be sluggish and we get false failures.
+# There are cases when the rate will be under 20 as well as over 100. Normally it is over
+# 50, but in order to stabilize our tests and avoid false failures this rate has been set
+# low. The test will still fail if there are failed registrations during the "flapping".
+# Some discussion of this can be found in the comments of
+# https://git.opendaylight.org/gerrit/#/c/74692/.
 
 *** Test Cases ***
 Register_Candidates
@@ -37,10 +42,9 @@ Do_Nothing
 
 Unregister_Candidates_And_Validate_Criteria
     [Documentation]    Unregister the testing service and check recevied statistics.
-    ${rate_limit_to_pass} =    CompareStream.Set_Variable_If_At_Most_Carbon    ${ACCEPTED_PER_SEC_RATE_CARBON}    ${ACCEPTED_PER_SEC_RATE}
-    CsCommon.Unregister_Flapping_Singleton_On_Nodes_And_Validate_Results    ${cs_all_indices}    ${rate_limit_to_pass}    ${TEST_DURATION}
+    CsCommon.Unregister_Flapping_Singleton_On_Nodes_And_Validate_Results    ${cs_all_indices}    ${ACCEPTED_PER_SEC_RATE}    ${TEST_DURATION}
 
 *** Keywords ***
 Setup_Keyword
-    SetupUtils.Setup_Utils_For_Setup_And_Teardown
+    SetupUtils.Setup_Utils_For_Setup_And_Teardown    http_timeout=125
     CsCommon.Cluster_Singleton_Init