RobertIndie commented on code in PR #16668:
URL: https://github.com/apache/pulsar/pull/16668#discussion_r924036303


##########
managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerTest.java:
##########
@@ -3193,7 +3193,7 @@ public void 
avoidUseSameOpAddEntryBetweenDifferentLedger() throws Exception {
 
         @Cleanup("shutdown")
         ManagedLedgerFactoryImpl factory = new 
ManagedLedgerFactoryImpl(metadataStore, bkc, config);
-        ManagedLedgerImpl ledger = (ManagedLedgerImpl) 
factory.open("my_test_ledger");
+        ManagedLedgerImpl ledger = (ManagedLedgerImpl) 
factory.open("avoidUseSameOpAddEntryBetweenDifferentLedger");

Review Comment:
   Seems that we have reinitialized the test env before running each test 
method. 
https://github.com/apache/pulsar/blob/master/managed-ledger/src/test/java/org/apache/bookkeeper/test/MockedBookKeeperTestCase.java#L69-L85
   
   Why did they affect each other here?



-- 
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]

Reply via email to