Fix intermittent failure in DistributedEntityOwnershipIntegrationTest 18/32218/3
authorTom Pantelis <tpanteli@brocade.com>
Wed, 6 Jan 2016 14:21:23 +0000 (09:21 -0500)
committerTom Pantelis <tpanteli@brocade.com>
Thu, 7 Jan 2016 22:25:12 +0000 (22:25 +0000)
commita4d52d3a0781ad65b543f01b0e06ad30aa1c3a95
tree3745b9108f74f3f2397c22f7e430f7bd2df72c34
parent135129e0cca66040fd512fab740d59b2ab1f8382
Fix intermittent failure in DistributedEntityOwnershipIntegrationTest

testCloseCandidateRegistrationInQuickSuccession fails sometimes with an
"Unfinished stubbing" error from Mockito. Moved the stubbing calls above
the close calls to fix it.

Change-Id: I1a6bd789c7745d3a7b80cf166eda51f819ce2df1
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipIntegrationTest.java