Skip to content

Commit

Permalink
serialize-creators=off in tests, akka#23003
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed May 22, 2017
1 parent 110dcdc commit edef9e3
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 45 deletions.
1 change: 0 additions & 1 deletion akka-cluster-metrics/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
akka {
actor {
serialize-creators = on
serialize-messages = on
warn-about-java-serializer-usage = off
}
Expand Down
1 change: 0 additions & 1 deletion akka-cluster-sharding/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
akka {
actor {
serialize-creators = off
serialize-messages = on
warn-about-java-serializer-usage = off
}
Expand Down
1 change: 0 additions & 1 deletion akka-cluster-tools/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
akka {
actor {
serialize-creators = on
serialize-messages = on
warn-about-java-serializer-usage = off
}
Expand Down
1 change: 0 additions & 1 deletion akka-cluster/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
akka {
actor {
serialize-creators = on
serialize-messages = off
warn-about-java-serializer-usage = off
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ object ReplicatorMapDeltaSpec extends MultiNodeConfig {
akka.log-dead-letters-during-shutdown = off
akka.actor {
serialize-messages = off
serialize-creators = off
allow-java-serialization = off
}
"""))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ object ReplicatorORSetDeltaSpec extends MultiNodeConfig {
akka.log-dead-letters-during-shutdown = off
akka.actor {
serialize-messages = off
serialize-creators = off
allow-java-serialization = off
}
"""))
Expand Down
1 change: 0 additions & 1 deletion akka-distributed-data/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
akka.actor {
serialize-messages = on
serialize-creators = on
warn-about-java-serializer-usage = off
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class ReplicatedDataSerializerSpec extends TestKit(ActorSystem(
akka.remote.artery.canonical.port = 0
akka.actor {
serialize-messages = off
serialize-creators = off
allow-java-serialization = off
}
"""))) with WordSpecLike with Matchers with BeforeAndAfterAll {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class ReplicatorMessageSerializerSpec extends TestKit(ActorSystem(
akka.remote.artery.canonical.port = 0
akka.actor {
serialize-messages = off
serialize-creators = off
allow-java-serialization = off
}
"""))) with WordSpecLike with Matchers with BeforeAndAfterAll {
Expand Down
1 change: 0 additions & 1 deletion akka-remote-tests/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
akka {
actor {
serialize-creators = on
serialize-messages = on
warn-about-java-serializer-usage = off
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ import akka.testkit.AkkaSpec

class SerializationChecksSpec extends AkkaSpec {

"Settings serialize-messages and serialize-creators" must {
"Settings serialize-messages" must {

"be on for tests" in {
system.settings.SerializeAllCreators should ===(true)
system.settings.SerializeAllMessages should ===(true)
}

Expand Down
1 change: 0 additions & 1 deletion akka-remote/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
akka {
actor {
serialize-creators = on
serialize-messages = on
warn-about-java-serializer-usage = off
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ import akka.testkit.AkkaSpec

class SerializationChecksPlainRemotingSpec extends AkkaSpec {

"Settings serialize-messages and serialize-creators" must {
"Settings serialize-messages" must {

"be on for tests" in {
system.settings.SerializeAllCreators should ===(true)
system.settings.SerializeAllMessages should ===(true)
}

Expand Down

This file was deleted.

0 comments on commit edef9e3

Please sign in to comment.