Config to exclude class prefix from serialize-messages, #24273 (#27517)

* Config to exclude class prefix from serialize-messages, #24273

* Adding no-serialization-verification-needed-class-prefix, with "akka." included
  by default
* This is important now when we disable Java serialization by default.
  There will be many complaints about Akka internal classes that are not marked with
  NoSerializationVerificationNeeded, and we can't really sprinkle that everywhere.
* Not removing NoSerializationVerificationNeeded usage in Akka classes because that
  may break bin compat, even though it's needed any more.

* fix DisabledJavaSerializerWarningSpec
This commit is contained in:
Patrik Nordwall 2019-09-26 22:51:12 +02:00 committed by GitHub
parent 4f9a4b5403
commit a7c43cf573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
100 changed files with 105 additions and 235 deletions

View file

@ -35,7 +35,6 @@ object PerformanceSpec extends MultiNodeConfig {
akka.remote.classic.log-frame-size-exceeding=1000b
akka.testconductor.barrier-timeout = 60 s
akka.cluster.distributed-data.gossip-interval = 1 s
akka.actor.serialize-messages = off
#akka.cluster.distributed-data.durable.keys = ["*"]
#akka.cluster.distributed-data.durable.lmdb.dir = target/PerformanceSpec-${System.currentTimeMillis}-ddata

View file

@ -26,9 +26,6 @@ object ReplicatorMapDeltaSpec extends MultiNodeConfig {
akka.loglevel = INFO
akka.actor.provider = "cluster"
akka.log-dead-letters-during-shutdown = off
akka.actor {
serialize-messages = off
}
"""))
testTransport(on = true)

View file

@ -23,9 +23,6 @@ object ReplicatorORSetDeltaSpec extends MultiNodeConfig {
akka.loglevel = INFO
akka.actor.provider = "cluster"
akka.log-dead-letters-during-shutdown = off
akka.actor {
serialize-messages = off
}
"""))
testTransport(on = true)

View file

@ -1,4 +0,0 @@
akka.actor {
serialize-messages = off
}

View file

@ -35,9 +35,6 @@ class ReplicatedDataSerializerSpec
akka.actor.provider=cluster
akka.remote.classic.netty.tcp.port=0
akka.remote.artery.canonical.port = 0
akka.actor {
serialize-messages = off
}
""")))
with WordSpecLike
with Matchers

View file

@ -39,9 +39,6 @@ class ReplicatorMessageSerializerSpec
akka.actor.provider=cluster
akka.remote.classic.netty.tcp.port=0
akka.remote.artery.canonical.port = 0
akka.actor {
serialize-messages = off
}
""")))
with WordSpecLike
with Matchers