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=b997326238b91e76c0cd2e6b19c60f14dd889de0;hp=2f53d4a4ebef7121cf20f2241e97929b6e324964;hb=HEAD;hpb=05a8052a457b2e53f06233f1a0b056d162118566 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 2f53d4a4eb..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 @@ -6,33 +6,27 @@ akka { loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"] actor { - # enable to test serialization only. - serialize-messages = on + provider = "akka.cluster.ClusterActorRefProvider" - serializers { - java = "akka.serialization.JavaSerializer" - proto = "akka.remote.serialization.ProtobufSerializer" - } + # enable to test serialization only. + serialize-messages = off - serialization-bindings { - "org.opendaylight.controller.cluster.raft.client.messages.FindLeader" = java - "org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry" = java - "com.google.protobuf.Message" = proto - "com.google.protobuf.GeneratedMessage" = proto + default-mailbox { + mailbox-type="org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox" } } } mock-snapshot-store { # Class name of the plugin. - class = "org.opendaylight.controller.cluster.raft.utils.MockSnapshotStore" + 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.MockAkkaJournal" + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" # Dispatcher for the plugin actor. plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher" }