Fix failure of testCloseCandidateRegistrationInQuickSuccession 88/29688/2
authorMoiz Raja <moraja@cisco.com>
Fri, 13 Nov 2015 21:32:13 +0000 (13:32 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 10 Dec 2015 18:44:18 +0000 (18:44 +0000)
commit6294486490460e535f37e0d6e0e929082fda9e3d
treee37c520146562e9cc4fb1791299b7d3d640a9e1b
parent22ab9a17d238298ba03068e76d9d3be68c8aa9ad
Fix failure of testCloseCandidateRegistrationInQuickSuccession

Moved checking of whether the ownershipchange event occurred with
hasOwner=false to the loop so that we pass the test only when all
listeners receive that event with hasOwner=false

Change-Id: I463272822e6a39f310fef5996b541e1d06c79548
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipIntegrationTest.java