X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Ftest%2Fresources%2Fapplication.conf;h=d7ae0cb29fd2cee152430b001e49f1b6dcb82d9a;hp=2647850667e6f7f779d582b33267c1afcbc6d483;hb=30eb37d8cde5a8d35e36aa38e0bab1232b242de2;hpb=789431e2c0c76d9d00bdc7599a08036e3720f170 diff --git a/opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf b/opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf index 2647850667..d7ae0cb29f 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf +++ b/opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf @@ -1,11 +1,32 @@ akka { + persistence.snapshot-store.plugin = "mock-snapshot-store" + persistence.journal.plugin = "mock-journal" + + loglevel = "DEBUG" + loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"] + actor { - serializers { - java = "akka.serialization.JavaSerializer" - } + provider = "akka.cluster.ClusterActorRefProvider" - serialization-bindings { - "org.opendaylight.controller.cluster.datastore.modification.MutableCompositeModification" = java + # enable to test serialization only. + serialize-messages = off + + default-mailbox { + mailbox-type="org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox" } } -} \ No newline at end of file +} + +mock-snapshot-store { + # Class name of the plugin. + class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore" + # Dispatcher for the plugin actor. + plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher" +} + +mock-journal { + # Class name of the plugin. + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + # Dispatcher for the plugin actor. + plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher" +}