Use rate of 5 to avoid false failures 61/76361/5
authorJamo Luhrsen <jluhrsen@redhat.com>
Fri, 21 Sep 2018 23:20:07 +0000 (16:20 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 21 Nov 2018 17:45:17 +0000 (17:45 +0000)
See the comment in the file for more details

Change-Id: I4a54fbc693747aa0a6d49e56700a9e61b25fe99d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/suites/controller/cluster_singleton/chasing_the_leader.robot

index ad7620b4beb00defe7ac9bc6c4b115aff6c5cf78..63e83526aa7425a2a7934185b566a9774315f0ad 100644 (file)
@@ -21,8 +21,13 @@ Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
 
 *** Variables ***
 ${TEST_DURATION}    1m
-${ACCEPTED_PER_SEC_RATE}    10
-# TODO: Use a better wait to start testing when ODL does not use CPU for initializing features. Then inrease rate to 100.
+${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