Skip to content

Flaky AbstractFileRegionTest failures due to byte alignment - #64

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

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
Member

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
asf-gitbox-commits pushed a commit that referenced this pull request Sep 22, 2026
@elecharny

Copy link
Copy Markdown
Contributor

Patch applied, many thanks!

@elecharny elecharny closed this Sep 22, 2026
@the-thing
the-thing deleted the flaky-abstract-file-region-test branch September 22, 2026 06:08
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