From 0ea62717bff2e668f0a68d2275212c6ccf4c9664 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Mon, 29 Jun 2020 13:05:11 +0200 Subject: [PATCH 1/2] wrong serializer config in ActorSystemSpec --- .../src/test/scala/akka/cluster/typed/ActorSystemSpec.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala b/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala index 31bbf999a5..f50e130b6a 100644 --- a/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala +++ b/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala @@ -76,12 +76,14 @@ class ActorSystemSpec akka.remote.artery.canonical.port = 0 akka.remote.artery.canonical.hostname = 127.0.0.1 - serializers { + akka.actor { + serializers { test = "akka.cluster.typed.ActorSystemSpec$$TestSerializer" } serialization-bindings { "akka.cluster.typed.ActorSystemSpec$$TestMessage" = test } + } """) def system[T](behavior: Behavior[T], name: String) = ActorSystem(behavior, name, config) def suite = "adapter" From f6140c75b0d0af007eedd0803ce8587f4cf813d1 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Mon, 29 Jun 2020 14:37:48 +0200 Subject: [PATCH 2/2] and fix the double $ --- .../src/test/scala/akka/cluster/typed/ActorSystemSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala b/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala index f50e130b6a..82c7aeae35 100644 --- a/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala +++ b/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala @@ -78,10 +78,10 @@ class ActorSystemSpec akka.actor { serializers { - test = "akka.cluster.typed.ActorSystemSpec$$TestSerializer" + test = "akka.cluster.typed.ActorSystemSpec$TestSerializer" } serialization-bindings { - "akka.cluster.typed.ActorSystemSpec$$TestMessage" = test + "akka.cluster.typed.ActorSystemSpec$TestMessage" = test } } """)