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/04/18 13:44:45 UTC
[GitHub] [pulsar] Jason918 opened a new pull request, #15203: [fix][test]Fix flaky test in AutoScaledReceiverQueueSizeTest.testMultiConsumerImplBatchReceive
Jason918 opened a new pull request, #15203:
URL: https://github.com/apache/pulsar/pull/15203
### Motivation
Fix flaky test in AutoScaledReceiverQueueSizeTest.testMultiConsumerImplBatchReceive
Related test logs:
> Error: testMultiConsumerImplBatchReceive(org.apache.pulsar.client.impl.AutoScaledReceiverQueueSizeTest) Time elapsed: 0.4 s <<< FAILURE!
> java.lang.AssertionError: expected [5] but found [10]
> at org.testng.Assert.fail(Assert.java:99)
> at org.testng.Assert.failNotEquals(Assert.java:1037)
> at org.testng.Assert.assertEqualsImpl(Assert.java:140)
> at org.testng.Assert.assertEquals(Assert.java:122)
> at org.testng.Assert.assertEquals(Assert.java:907)
> at org.testng.Assert.assertEquals(Assert.java:917)
> at org.apache.pulsar.client.impl.AutoScaledReceiverQueueSizeTest.testMultiConsumerImplBatchReceive(AutoScaledReceiverQueueSizeTest.java:242)
> 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)
### Modifications
Wait unit consumer have enough message for batch receive.
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?
- [x] `no-need-doc`
--
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
[GitHub] [pulsar] Jason918 merged pull request #15203: [fix][test]Fix flaky test in AutoScaledReceiverQueueSizeTest.testMultiConsumerImplBatchReceive
Posted by GitBox <gi...@apache.org>.
Jason918 merged PR #15203:
URL: https://github.com/apache/pulsar/pull/15203
--
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
[GitHub] [pulsar] Jason918 commented on pull request #15203: [fix][test]Fix flaky test in AutoScaledReceiverQueueSizeTest.testMultiConsumerImplBatchReceive
Posted by GitBox <gi...@apache.org>.
Jason918 commented on PR #15203:
URL: https://github.com/apache/pulsar/pull/15203#issuecomment-1101917159
/pulsarbot run-failure-checks
--
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