Skip to content

tests: remove Big Endian–specific compressed size assertion (from #720) - #745

Merged
xerial merged 1 commit into
mainfrom
fix/s390x-test
Oct 3, 2026
Merged

xerial merged 1 commit into
mainfrom
fix/s390x-test

Conversation

@xerial

@xerial xerial commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Summary

Carries over #720 by @yasiribmcon; the commit and its authorship are unchanged. That PR couldn't be updated to current main, and its CI never ran.

batchingOfWritesShouldNotAffectCompressedDataSize hardcoded an expected compressed size of 90992 for big-endian platforms. With Snappy 1.1.10, s390x produces the same size as other little-endian x86 platforms, so the extra case made the test fail on s390x.

Closes #720.

🤖 Generated with Claude Code

The test previously hardcoded an expected compressed size for BIG_ENDIAN platforms.
With recent changes to Snappy’s compression logic, the output size is now identical on
both little-endian and big-endian systems, making the endianness-specific assertion
invalid.

Signed-off-by: Yasir Ashfaq <Yasir.Ashfaq1@ibm.com>
@xerial
xerial merged commit 854d985 into main Oct 3, 2026
11 checks passed
@xerial
xerial deleted the fix/s390x-test branch October 3, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants