Merge pull request #15815 from akka/wip-15807-make-SerializationCompatibilitySpec-pass-on-scala-2.11.x-master-ban
(Validation Only) =act Make SerializationCompatibilitySpec pass on Scala 2.11.x
This commit is contained in:
commit
57f39219d9
1 changed files with 11 additions and 4 deletions
|
|
@ -329,10 +329,17 @@ class SerializationCompatibilitySpec extends AkkaSpec(SerializationTests.mostlyR
|
|||
"be preserved for the Create SystemMessage" in {
|
||||
// Using null as the cause to avoid a large serialized message and JDK differences
|
||||
verify(Create(Some(null)),
|
||||
"aced00057372001b616b6b612e64697370617463682e7379736d73672e4372656174650000000000" +
|
||||
"0000010200014c00076661696c75726574000e4c7363616c612f4f7074696f6e3b78707372000a73" +
|
||||
"63616c612e536f6d65e2a09f87fc0836ae0200014c0001787400124c6a6176612f6c616e672f4f62" +
|
||||
"6a6563743b7872000c7363616c612e4f7074696f6ee36024a8328a45e9020000787070")
|
||||
if (scala.util.Properties.versionNumberString.startsWith("2.10.")) {
|
||||
"aced00057372001b616b6b612e64697370617463682e7379736d73672e4372656174650000000000" +
|
||||
"0000010200014c00076661696c75726574000e4c7363616c612f4f7074696f6e3b78707372000a73" +
|
||||
"63616c612e536f6d65e2a09f87fc0836ae0200014c0001787400124c6a6176612f6c616e672f4f62" +
|
||||
"6a6563743b7872000c7363616c612e4f7074696f6ee36024a8328a45e9020000787070"
|
||||
} else {
|
||||
"aced00057372001b616b6b612e64697370617463682e7379736d73672e4372656174650000000000" +
|
||||
"0000010200014c00076661696c75726574000e4c7363616c612f4f7074696f6e3b78707372000a73" +
|
||||
"63616c612e536f6d651122f2695ea18b740200014c0001787400124c6a6176612f6c616e672f4f62" +
|
||||
"6a6563743b7872000c7363616c612e4f7074696f6efe6937fddb0e6674020000787070"
|
||||
})
|
||||
}
|
||||
"be preserved for the Recreate SystemMessage" in {
|
||||
verify(Recreate(null),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue