Skip to content

Commit ddc8fb4

Browse files
xerialclaude
andcommitted
Update Snappy version to 1.2.2 and fix test compatibility
- Update SNAPPY_VERSION from 1.1.10 to 1.2.2 in VERSION file - Fix SnappyOutputStreamTest expected compression size for aarch64 (90277 bytes) to match improved compression ratio in Snappy 1.2.2 - All tests pass with new version Fixes #662 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e41d1f1 commit ddc8fb4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
SNAPPY_VERSION=1.1.10
1+
SNAPPY_VERSION=1.2.2
22
BITSHUFFLE_VERSION=0.3.4
Binary file not shown.

src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ public void batchingOfWritesShouldNotAffectCompressedDataSize()
180180
if (ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN)
181181
assertEquals(90992, expectedCompressedData.length);
182182
else if(OSInfo.getArchName() == "aarch64")
183-
// Arm has a better compression ratio
184-
assertEquals(91051, expectedCompressedData.length);
183+
// Arm has a better compression ratio (improved with Snappy 1.2.2)
184+
assertEquals(90277, expectedCompressedData.length);
185185
else
186186
assertEquals(91080, expectedCompressedData.length);
187187
// The chunk size should not affect the size of the compressed output:

0 commit comments

Comments
 (0)