BewareMyPower opened a new issue, #16813:
URL: https://github.com/apache/pulsar/issues/16813

   **Describe the bug**
   In branch-2.8, `ManagedLedgerTest#testGetNumberOfEntriesInStorage` cannot 
pass. We can see the example failure from 
https://github.com/apache/pulsar/runs/7534114748?check_suite_focus=true and 
other earlier runs.
   
   **To Reproduce**
   Run the test, we can see
   
   ```
   org.awaitility.core.ConditionTimeoutException: Assertion condition defined 
as a lambda expression in org.apache.bookkeeper.mledger.impl.ManagedLedgerTest 
that uses org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl expected [2] but 
found [3] within 10 seconds.
   
        at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
        at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
        at 
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:679)
        at 
org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.testGetNumberOfEntriesInStorage(ManagedLedgerTest.java:2237)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
        at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
        at 
org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
        at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
        at 
org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
        at 
org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
        at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
   ```
   
   **Expected behavior**
   The test should pass.


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