Fix test to return PrimaryShardInfo when retrieving primary shard 74/19974/1
authorMoiz Raja <moraja@cisco.com>
Wed, 29 Apr 2015 04:00:30 +0000 (21:00 -0700)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 9 May 2015 19:09:34 +0000 (19:09 +0000)
commit7e838875a3da7039c0378e4023fc8c5c0ddac537
treea22803370824bb5060942da1ebb65730806cf2b1
parent3c994aefa8044829c7cb77c23f154e35c458fcbe
Fix test to return PrimaryShardInfo when retrieving primary shard

Without these changes the tests log a lot of ClassCastExceptions when
run.

I also removed one method in the test that was unused

Change-Id: I9501dc7cd6be461297052182de79dae831409a8c
Signed-off-by: Moiz Raja <moraja@cisco.com>
(cherry picked from commit 17787472279e0c04061a1ef1ad2b110b1f77b9b3)
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/TransactionProxyTest.java