Skip to content

Fix flaky ParquetChunkedTest.test_chunk_size_affects_output#736

Closed
Cyan4973 wants to merge 1 commit into
facebook:devfrom
Cyan4973:export-D103963402
Closed

Fix flaky ParquetChunkedTest.test_chunk_size_affects_output#736
Cyan4973 wants to merge 1 commit into
facebook:devfrom
Cyan4973:export-D103963402

Conversation

@Cyan4973
Copy link
Copy Markdown
Contributor

@Cyan4973 Cyan4973 commented May 6, 2026

Summary:
The test checks that two trained compressors with different chunk sizes produce different .zlc files.
The previous version compared file sizes, but ACE training is non-deterministic, and two runs can produce different artifacts but with identical size, which trips the assertion as a false positive. This is rare but can happen in CI, making CI signal flaky.

Switch to a bytewise comparison, which must always be true.

Differential Revision: D103963402

Summary:
The test checks that two trained compressors with different chunk sizes produce different `.zlc` files. 
The previous version compared file sizes, but `ACE` training is non-deterministic, and two runs can produce different artifacts but with identical size, which trips the assertion as a false positive. This is rare but can happen in CI, making CI signal flaky.

Switch to a bytewise comparison, which must always be true.

Differential Revision: D103963402
@meta-cla meta-cla Bot added the cla signed label May 6, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 6, 2026

@Cyan4973 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D103963402.

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 6, 2026

This pull request has been merged in c6eb178.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant