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=818ddf7d8572889e924a364c1203ca4892eb6029;hb=HEAD;hpb=5448d6812e386bd56aec7209c4852c586a6163b3 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 818ddf7d85..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,34 +6,27 @@ akka { loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"] actor { + provider = "akka.cluster.ClusterActorRefProvider" + # enable to test serialization only. serialize-messages = off - serializers { - java = "akka.serialization.JavaSerializer" - proto = "akka.remote.serialization.ProtobufSerializer" - } - - serialization-bindings { - "org.opendaylight.controller.cluster.common.actor.Monitor" = java - "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" }