codelipenghui opened a new pull request, #15138:
URL: https://github.com/apache/pulsar/pull/15138

   Fixed the failed MemoryLimitTest for branch-2.8
   
   ```
   Error:  Tests run: 8, Failures: 2, Errors: 0, Skipped: 6, Time elapsed: 
16.627 s <<< FAILURE! - in org.apache.pulsar.client.api.MemoryLimitTest
   Error:  testRejectMessages(org.apache.pulsar.client.api.MemoryLimitTest)  
Time elapsed: 5.271 s  <<< FAILURE!
   org.awaitility.core.ConditionTimeoutException: Condition with lambda 
expression in org.apache.pulsar.client.api.MemoryLimitTest that uses 
org.apache.pulsar.client.impl.ProducerImpl was not fulfilled within 5 seconds.
        at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
        at 
org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
        at 
org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
        at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
        at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:864)
        at 
org.apache.pulsar.client.api.MemoryLimitTest.testRejectMessages(MemoryLimitTest.java:90)
        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.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
        at 
org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
        at 
org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
   ```
   
   The failed test link 
https://github.com/apache/pulsar/runs/5991414052?check_suite_focus=true
   
   We have several related fixes in branch-2.9 for the pending queue stats 
   
   https://github.com/apache/pulsar/pull/12704
   https://github.com/apache/pulsar/pull/11884
   https://github.com/apache/pulsar/pull/14231
   
   This fix is to disable the message batching to get the test passed since 
branch-2.8 did not have
   above fixes.


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