Skip to content

Commit 3ddbad8

Browse files
committed
Fix MarkersTest due to protobuf upgrade
Upstream code is very different because of PIP-75
1 parent 23693c9 commit 3ddbad8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pulsar-common/src/test/java/org/apache/pulsar/common/protocol/MarkersTest.java

-8
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,6 @@ public void testTxnCommitMarker() throws IOException {
139139
}
140140

141141
ByteBuf buf = Markers.newTxnCommitMarker(sequenceId, mostBits, leastBits, messageIdDataList);
142-
for (MessageIdData messageIdData : messageIdDataList) {
143-
try {
144-
messageIdData.recycle();
145-
fail("message id data should be recycled after create the marker bytebuf.");
146-
} catch (Exception e) {
147-
assertTrue(e instanceof java.lang.IllegalStateException);
148-
}
149-
}
150142
MessageMetadata msgMetadata = Commands.parseMessageMetadata(buf);
151143

152144
assertEquals(msgMetadata.getMarkerType(), PulsarMarkers.MarkerType.TXN_COMMIT_VALUE);

0 commit comments

Comments
 (0)