Skip to content

Fix InboundDecoderTests.testDecodePreHeaderSizeVariableInt() #132215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

JeremyDahlgren
Copy link
Contributor

@JeremyDahlgren JeremyDahlgren commented Jul 30, 2025

This test needed to be updated when #123390 was backported to 8.19 in #123554 since the test didn't exist on main when #123390 was merged. Note that CI had failures for this test in #123554.

Closes: #132203, #132281

This test needed to be updated when elastic#123390 was backported
to 8.19 in elastic#123554 since the test didn't exist on main when
elastic#123390 was merged.
@JeremyDahlgren JeremyDahlgren added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Network Http and internode communication implementations Team:Distributed Coordination Meta label for Distributed Coordination team v8.19.1 labels Jul 30, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

Comment on lines 164 to 165
final Object body = fragments.get(1);
assertThat(body, instanceOf(ReleasableBytesReference.class));
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really need to lose these assertions, or is it just the .close() call below that causes the issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just the close(), I restored the assertion.

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM thanks @JeremyDahlgren

@JeremyDahlgren JeremyDahlgren merged commit 0ebf24a into elastic:8.19 Aug 1, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Network Http and internode communication implementations Team:Distributed Coordination Meta label for Distributed Coordination team >test Issues or PRs that are addressing/adding tests v8.19.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants