Fix RecoveryIntegrationSingleNodeTest failure 77/58277/2
authorTom Pantelis <tompantelis@gmail.com>
Mon, 5 Jun 2017 18:56:45 +0000 (14:56 -0400)
committerRobert Varga <nite@hq.sk>
Tue, 6 Jun 2017 08:16:18 +0000 (08:16 +0000)
commit75a222ffd227bb9f2aeef8ee7998f8df6f529bf8
tree5828dc05e013efad143acb06f7db6124450dee22
parent51bf6c7493843ad23f074930b56925162732a8b2
Fix RecoveryIntegrationSingleNodeTest failure

The InMemoryJournal may not have received all the persisted messages
by the time it checks the expected size of the journal so added a latch/wait
for he expected messages..

Change-Id: I8f050b9375f5e3e74749c17e831add21d09d1831
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RecoveryIntegrationSingleNodeTest.java