Skip to content

Test: add alignment test for arrow-flight #10428

Open
Rich-T-kid wants to merge 2 commits into
apache:mainfrom
Rich-T-kid:rich-t-kid/arrow-flight-decode-alignment-test
Open

Test: add alignment test for arrow-flight #10428
Rich-T-kid wants to merge 2 commits into
apache:mainfrom
Rich-T-kid:rich-t-kid/arrow-flight-decode-alignment-test

Conversation

@Rich-T-kid

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

see #10418

What changes are included in this PR?

Are these changes tested?

the changes are test

Are there any user-facing changes?

no

@github-actions github-actions Bot added arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels Jul 24, 2026
@Rich-T-kid Rich-T-kid changed the title add alighment test for arrow-flight Test: add alighment test for arrow-flight Jul 25, 2026
@Rich-T-kid Rich-T-kid changed the title Test: add alighment test for arrow-flight Test: add alignment test for arrow-flight Jul 25, 2026
}

#[test]
#[should_panic(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we can probably assert on the error instead of relying on should_panic here (since we explicitly call unwrap in the helper)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point!

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

Labels

arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add test for mis-aligned buffers in arrow flight

2 participants