Adding tests for the actor ref serialization bug, 837
This commit is contained in:
parent
e30f85a1ba
commit
aaa8b163f3
3 changed files with 30 additions and 7 deletions
|
|
@ -269,15 +269,13 @@ object RemoteActorSerialization {
|
|||
.setTimeout(r.timeout)
|
||||
.build
|
||||
case ar: LocalActorRef =>
|
||||
import ar._
|
||||
|
||||
Actor.remote.registerByUuid(ar)
|
||||
|
||||
RemoteActorRefProtocol.newBuilder
|
||||
.setClassOrServiceName("uuid:"+uuid.toString)
|
||||
.setActorClassname(actorClassName)
|
||||
.setClassOrServiceName("uuid:"+ar.uuid.toString)
|
||||
.setActorClassname(ar.actorClassName)
|
||||
.setHomeAddress(ActorSerialization.toAddressProtocol(ar))
|
||||
.setTimeout(timeout)
|
||||
.setTimeout(ar.timeout)
|
||||
.build
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue