CDS: Fix intermittent DistributedDataStoreRemotingIntegrationTest failure
I've seen the testReadyLocalTransactionForwardedToLeader test fail
several times both locally and in jenkins:
DistributedDataStoreRemotingIntegrationTest.testReadyLocalTransactionForwardedToLeader:535
assertion failed: expected class
org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages$CommitTransactionReply, found class akka.actor.Status$Failure
It's a timing issue where the follower may not yet have the leader.
After this patch the test ran 100 times w/o failure.
Change-Id: I542a7e87516e8d1f846cda6e2abc4d473e3de961
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>