adds serializer for akka.Done. #23854
(cherry picked from commit 53a543788494d7b6457f129b1ad4ff57ff530584)
This commit is contained in:
parent
74b5866f60
commit
2837ebba6e
5 changed files with 27 additions and 4 deletions
|
|
@ -15,6 +15,7 @@ import scala.concurrent.duration._
|
|||
import java.util.Optional
|
||||
import java.io.NotSerializableException
|
||||
|
||||
import akka.Done
|
||||
import akka.remote.routing.RemoteRouterConfig
|
||||
import akka.routing._
|
||||
|
||||
|
|
@ -23,6 +24,8 @@ object MiscMessageSerializerSpec {
|
|||
"""
|
||||
akka.actor.serialization-bindings {
|
||||
"akka.remote.serialization.MiscMessageSerializerSpec$TestException" = akka-misc
|
||||
# not enabled by default
|
||||
"akka.Done" = akka-misc
|
||||
}
|
||||
"""
|
||||
|
||||
|
|
@ -85,6 +88,7 @@ class MiscMessageSerializerSpec extends AkkaSpec(MiscMessageSerializerSpec.testC
|
|||
"PoisonPill" → PoisonPill,
|
||||
"RemoteWatcher.Heartbeat" → RemoteWatcher.Heartbeat,
|
||||
"RemoteWatcher.HertbeatRsp" → RemoteWatcher.HeartbeatRsp(65537),
|
||||
"Done" → Done,
|
||||
"LocalScope" → LocalScope,
|
||||
"RemoteScope" → RemoteScope(Address("akka", "system", "localhost", 2525)),
|
||||
"Config" → system.settings.config,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue