mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
Fix JUnit by adjusting assertion to reflect improved uncompressed byte size.
This commit is contained in:
parent
41b7916332
commit
c8eb13efe2
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user