akka/akka-core

Serialization compatibility testkit

Aberta

#24.623 aberto em 26 de fev. de 2018

 (7 comentários) (1 reação) (0 responsável)Scala (3.547 forks)batch import
1 - triagedhelp wantedt:clustert:remotingt:serialization

Métricas do repositório

Stars
 (13.277 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d 19h) (10 fundiu PRs em 30d)

Description

To prevent issues like #24622 we could try to create a testkit that helps testing that the binary protocol stays compatible. For each serializer and each compatible version with changes you could create binary test data to make sure the serializer is still able to read that data.

It should be somewhat simple to test the direction binary => Java object while the other direction, that the new protocol is still compatible with the old one is harder to achieve (because it will probably be hard to load and execute the old serializer to verify that it can read binary data created with a newer version).

Guia do colaborador