Bug 8301: Fix some issues with testProducerRegistrations 50/56150/2
authorTom Pantelis <tompantelis@gmail.com>
Thu, 27 Apr 2017 10:45:11 +0000 (06:45 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Thu, 27 Apr 2017 12:53:07 +0000 (12:53 +0000)
commit64b9093c2c9ce670b92f2d0ea44c76dc9a385b5a
treec5518537151ea184b10ceb0e77d55910de6abc4b
parent0f7dbbe9b8b3d7ddb22de34ac04650b7ba7fc440
Bug 8301: Fix some issues with testProducerRegistrations

The LogicalDatastoreType.CONFIGURATION type was being used for both data
stores - modified the IntegrationTestKit to set the logicalStoreType
appropriately.

Fixed a synchronization issue in DistributedShardedDOMDataTree#lookupShardFrontend
where it accessed shards unprotected.

Change-Id: I628add86667e4a812f8e7516bac59f9b66fe4033
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTree.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/IntegrationTestKit.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTreeRemotingTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.