You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/05 06:25:23 UTC

[GitHub] [pulsar] Technoboy- commented on a diff in pull request #17441: [flaky-test]Add information in ManagedLedgerBkTest to determine the problem

Technoboy- commented on code in PR #17441:
URL: https://github.com/apache/pulsar/pull/17441#discussion_r962518602


##########
managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerBkTest.java:
##########
@@ -336,9 +335,14 @@ public void deleteFailed(ManagedLedgerException exception, Object ctx) {
         cursor.close();
         ledger.close();
 
-        assertFalse(gotException.get());
+        // Add information to determine the problem.
+        if (gotException.get() != null){
+            fail(ThrowableToStringUtil.toString(gotException.get()));
+        }
     }
 
+
+

Review Comment:
   Remove this line



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org