From 9ab5620220886e380ce1a7ad2f6b0104cf2375c3 Mon Sep 17 00:00:00 2001 From: xerial Date: Thu, 19 Jan 2017 18:00:37 -0800 Subject: [PATCH] Update the expected binary size for snappy-1.1.3 --- src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java b/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java index df97fd3..a996c07 100755 --- a/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java +++ b/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java @@ -166,9 +166,9 @@ public class SnappyOutputStreamTest // Hardcoding an expected compressed size here will catch regressions that lower the // compression quality: if (ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN) - assertEquals(90943, expectedCompressedData.length); + assertEquals(91080, expectedCompressedData.length); else - assertEquals(91013, expectedCompressedData.length); + assertEquals(91080, expectedCompressedData.length); // The chunk size should not affect the size of the compressed output: int[] chunkSizes = new int[] {1, 100, 1023, 1024, 10000}; for (int chunkSize : chunkSizes) {