Fix failure of testCloseCandidateRegistrationInQuickSuccession 11/29811/2
authorMoiz Raja <moraja@cisco.com>
Fri, 13 Nov 2015 21:32:13 +0000 (13:32 -0800)
committerMoiz Raja <moraja@cisco.com>
Tue, 17 Nov 2015 15:19:50 +0000 (07:19 -0800)
commite39a87005bd0f355c1be873385b0391446e284a9
tree11fbebe95b65d7dd83c6a34db2e0351082fd6e9c
parent62bc70796cebbf866ee41e0b9e98006461f19153
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