Skip to content

Commit 058d617

Browse files
nikhil-ctdssrinath-ctds
authored andcommitted
Fix cherry-pick issue
1 parent 87674fa commit 058d617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/buffer/impl/TransactionPersistentTopicTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void testNoOrphanClosedTopicIfTxnInternalFailed() {
8383
}).when(abortedTxnProcessor).recoverFromSnapshot();
8484
when(abortedTxnProcessor.closeAsync()).thenReturn(CompletableFuture.completedFuture(null));
8585
return new TopicTransactionBuffer(
86-
(PersistentTopic) originTopic, abortedTxnProcessor);
86+
(PersistentTopic) originTopic, abortedTxnProcessor, AbortedTxnProcessor.SnapshotType.Single);
8787
};
8888
TransactionBufferProvider originalTransactionBufferProvider = pulsar.getTransactionBufferProvider();
8989
pulsar.setTransactionBufferProvider(mockTransactionBufferProvider);

0 commit comments

Comments
 (0)