Fix RecoveryIntegrationSingleNodeTest failure 68/58368/1
authorTom Pantelis <tompantelis@gmail.com>
Mon, 5 Jun 2017 18:56:45 +0000 (14:56 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Tue, 6 Jun 2017 20:11:27 +0000 (20:11 +0000)
commit188b3e7bb59bd60f9806ffe7afff564d064cb986
treecde8e12a662f15f88f6f32ac78cd40dc833729f0
parent584be7bf6b41f2f8b01dd718aba8d3b6cf7426ef
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>
(cherry picked from commit 75a222ffd227bb9f2aeef8ee7998f8df6f529bf8)
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RecoveryIntegrationSingleNodeTest.java