codelipenghui commented on code in PR #19157:
URL: https://github.com/apache/pulsar/pull/19157#discussion_r1065796718
##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/buffer/TopicTransactionBufferTest.java:
##########
@@ -86,4 +98,50 @@ public void
testTransactionBufferAppendMarkerWriteFailState() throws Exception {
FieldUtils.writeField(persistentTopic.getManagedLedger(), "state",
ManagedLedgerImpl.State.WriteFailed, true);
txn.commit().get();
}
+
+ @Test
+ public void testCheckDeduplicationFailedWhenCreatePersistentTopic() throws
Exception {
Review Comment:
@tjiuming The test can also get passed with the code fix. Could you please
check again?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]