akka/akka-core

Serialization compatibility testkit

Ouverte

#24 623 ouverte le 26 févr. 2018

 (7 commentaires) (1 réaction) (0 personne assignée)Scala (3 547 forks)batch import
1 - triagedhelp wantedt:clustert:remotingt:serialization

Métriques du dépôt

Stars
 (13 277 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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).

Guide contributeur