Support ClusterSharding passivation in BackoffSupervisor (#25933)
* Specific final stop message predicate instead of arbitrary action
This commit is contained in:
parent
8b8c7355bf
commit
e5c1fc02a9
10 changed files with 212 additions and 34 deletions
|
|
@ -258,7 +258,7 @@ class MessageSerializerPersistenceSpec extends AkkaSpec(customSerializers) {
|
|||
val expected = PersistentRepr(MyPayload(".a."), 13, "p1", "", true, Actor.noSender)
|
||||
val serializer = serialization.findSerializerFor(expected)
|
||||
val deserialized = serializer.fromBinary(bytes, None).asInstanceOf[PersistentRepr]
|
||||
deserialized.sender should not be (null)
|
||||
deserialized.sender should not be null
|
||||
val deserializedWithoutSender = deserialized.update(sender = Actor.noSender)
|
||||
deserializedWithoutSender should be(expected)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue