Skip to content

Flaky AbstractFileRegionTest failures due to byte alignment - #64

Open
the-thing wants to merge 1 commit into
apache:2.2.Xfrom
the-thing:flaky-abstract-file-region-test
Open

the-thing wants to merge 1 commit into
apache:2.2.Xfrom
the-thing:flaky-abstract-file-region-test

Conversation

@the-thing

@the-thing the-thing commented Sep 15, 2026

Copy link
Copy Markdown

This test almost always fails (buffer underflow) on my machine (like many others). Oracle OpenJDK 11, Windows 11.

The test assumes that bytes read are multiple of 4 so it can read int value. This is not always the case. We have to buffer messages locally and read from there.

@the-thing the-thing changed the title fixing flaky AbstractFileRegionTest failures due to byte alignment Flaky AbstractFileRegionTest failures due to byte alignment Sep 15, 2026
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.

1 participant