Fix JUnit by adjusting assertion to reflect improved uncompressed byte size.

This commit is contained in:
josecoll 2019-05-14 18:30:46 +01:00
parent 41b7916332
commit c8eb13efe2

View File

@ -354,7 +354,7 @@ class KryoTests(private val compression: CordaSerializationEncoding?) {
val uncompressedSize = obj.checkpointSerialize(context.withEncoding(null)).size
val compressedSize = obj.checkpointSerialize(context.withEncoding(CordaSerializationEncoding.SNAPPY)).size
// If these need fixing, sounds like Kryo wire format changed and checkpoints might not surive an upgrade.
assertEquals(20222, uncompressedSize)
assertEquals(20172, uncompressedSize)
assertEquals(1111, compressedSize)
}
}