fix SystemMessageDeliveryStressTest NPE with additional-serializers, #22169

* because it's sending a dummy `Failed` sys msg with `null` child
This commit is contained in:
Patrik Nordwall 2017-01-25 08:06:57 +01:00
parent 9df49be5d0
commit 65fa37aa03
3 changed files with 27 additions and 20 deletions

View file

@ -101,7 +101,10 @@ object SerializationTests {
def mostlyReferenceSystem: ActorSystem = {
val referenceConf = ConfigFactory.defaultReference()
val mostlyReferenceConf = AkkaSpec.testConf.withFallback(referenceConf)
// we are checking the old Java serialization formats here
val mostlyReferenceConf = ConfigFactory.parseString("""
akka.actor.enable-additional-serialization-bindings = off
""").withFallback(AkkaSpec.testConf.withFallback(referenceConf))
ActorSystem("SerializationSystem", mostlyReferenceConf)
}