CDS: ShardManagerTest cleanup 36/30036/5
authorTom Pantelis <tpanteli@brocade.com>
Thu, 19 Nov 2015 18:55:05 +0000 (13:55 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 2 Dec 2015 10:57:29 +0000 (10:57 +0000)
commit733636ec5f1b4caecd130a6a26f6d196af6ff854
tree6ccd3388c9173310f7221b63d79d7d3e7633575f
parent60dd79a3bc8e50f227490a04c58772801e2b9f6d
CDS: ShardManagerTest cleanup

Added a Builder to TestShardManager and modified tests to use the
Builder to gain more consistency between the tests. As a result, I made the
ShardManager builder class abstract for derivation same as was done for
the Shard builder.

I removed the ForwardingShardManager class and merged the functionality
into TestShardManager.

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