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>
This commit is contained in:
Taro L. Saito 2025-07-19 09:52:32 -07:00
parent e41d1f133a
commit ddc8fb4323
3 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
SNAPPY_VERSION=1.1.10
SNAPPY_VERSION=1.2.2
BITSHUFFLE_VERSION=0.3.4

View File

@ -180,8 +180,8 @@ public class SnappyOutputStreamTest
if (ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN)
assertEquals(90992, expectedCompressedData.length);
else if(OSInfo.getArchName() == "aarch64")
// Arm has a better compression ratio
assertEquals(91051, expectedCompressedData.length);
// Arm has a better compression ratio (improved with Snappy 1.2.2)
assertEquals(90277, expectedCompressedData.length);
else
assertEquals(91080, expectedCompressedData.length);
// The chunk size should not affect the size of the compressed output: