Skip to content

Commit 0ebf24a

Browse files
Fix InboundDecoderTests.testDecodePreHeaderSizeVariableInt() (#132215)
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.
1 parent 9f4b10f commit 0ebf24a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/test/java/org/elasticsearch/transport/InboundDecoderTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ public void testDecodePreHeaderSizeVariableInt() throws IOException {
163163
assertEquals(3, fragments.size());
164164
final Object body = fragments.get(1);
165165
assertThat(body, instanceOf(ReleasableBytesReference.class));
166-
((ReleasableBytesReference) body).close();
167166
}
168167
assertEquals(InboundDecoder.END_CONTENT, fragments.get(fragments.size() - 1));
169168
assertEquals(totalBytes.length() - bytesConsumed, bytesConsumed2);

0 commit comments

Comments
 (0)