Change InMemoryJournal to ser/der the data 22/29922/4
authorTom Pantelis <tpanteli@brocade.com>
Thu, 19 Nov 2015 04:36:36 +0000 (23:36 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 1 Dec 2015 12:34:25 +0000 (12:34 +0000)
commitbeb1fb460014315fd23258fc083c12aae61038fb
treebb493c5ab6f2cfcfcd1196ea785baee47b39d9bc
parent09892e9e17d9bff10178b4631678557b855d8a1e
Change InMemoryJournal to ser/der the data

Performing derialization/de-serialization of data payload in InMemoryJournal
mirrors production and can possibly uncover bugs earlier.

Also changed doAsyncReplayMessages to honor the 'max' param.

Change-Id: I786962a49b4417a3b8b1731528accdd8f33f5dad
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/utils/InMemoryJournal.java