Bug-1903:On recovery all replicated log entries should not be applied to state
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / resources / application.conf
index 6b2cc2203844198bc546ab509695d3c134a35a8b..2f53d4a4ebef7121cf20f2241e97929b6e324964 100644 (file)
@@ -1,5 +1,6 @@
 akka {
     persistence.snapshot-store.plugin = "mock-snapshot-store"
+    persistence.journal.plugin = "mock-journal"
 
     loglevel = "DEBUG"
     loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
@@ -28,3 +29,10 @@ mock-snapshot-store {
   # 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"
+  # Dispatcher for the plugin actor.
+  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+}