#22140 fixed ReplicatedDataSerializerSpec error with artery serializers
This commit is contained in:
parent
4a9c753710
commit
55a1532e56
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ class ReplicatedDataSerializerSpec extends TestKit(ActorSystem(
|
||||||
akka.actor.provider=cluster
|
akka.actor.provider=cluster
|
||||||
akka.remote.netty.tcp.port=0
|
akka.remote.netty.tcp.port=0
|
||||||
akka.remote.artery.canonical.port = 0
|
akka.remote.artery.canonical.port = 0
|
||||||
|
akka.actor.enable-additional-serialization-bindings=on
|
||||||
"""))) with WordSpecLike with Matchers with BeforeAndAfterAll {
|
"""))) with WordSpecLike with Matchers with BeforeAndAfterAll {
|
||||||
|
|
||||||
val serializer = new ReplicatedDataSerializer(system.asInstanceOf[ExtendedActorSystem])
|
val serializer = new ReplicatedDataSerializer(system.asInstanceOf[ExtendedActorSystem])
|
||||||
|
|
@ -168,7 +169,7 @@ class ReplicatedDataSerializerSpec extends TestKit(ActorSystem(
|
||||||
|
|
||||||
"be compatible with old LWWMap serialization" in {
|
"be compatible with old LWWMap serialization" in {
|
||||||
// Below blob was created with previous version of the serializer
|
// Below blob was created with previous version of the serializer
|
||||||
val oldBlobAsBase64 = "H4sIAAAAAAAAAOPy51LhUuKS4xLi4i3Oz03Vy8gvLtHLL0oXeK4iysjAwCALxAwC0kJEqZJiTBSy5wISVhwzrl2fuyRMiIAWKUEu3jVvGVhLGNjKEnNKUw0FGAG1K/3VkgAAAA=="
|
val oldBlobAsBase64 = "H4sIAAAAAAAAAOPy51LhUuKS4xLi4i3Oz03Vy8gvLtHLL0oXeK4iysjAwCALxAwC0kJEqZJiTBSy4AISxhwzrl2fuyRMiIAWKS4utrLEnNJUQwERAD96/peLAAAA"
|
||||||
checkCompatibility(oldBlobAsBase64, LWWMap())
|
checkCompatibility(oldBlobAsBase64, LWWMap())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue