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/08/19 08:06:40 UTC

[GitHub] [pulsar] gaozhangmin opened a new pull request, #17180: [fix][flaky-test] Fix flaky test testBacklogNoDelayedForPartitionedTopic

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

   
   ### Motivation
   Fix flaky test  `testBacklogNoDelayedForPartitionedTopic`
   ```
   Error:  testBacklogNoDelayedForPartitionedTopic(org.apache.pulsar.broker.admin.AdminApi2Test)  Time elapsed: 2.24 s  <<< FAILURE!
     java.lang.AssertionError: expected [5] but found [6]
     	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:797)
     	at org.testng.Assert.assertEquals(Assert.java:807)
     	at org.apache.pulsar.broker.admin.AdminApi2Test.testBacklogNoDelayedForPartitionedTopic(AdminApi2Test.java:1627)
     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
     	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
     	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:1136)
     	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
     	at java.base/java.lang.Thread.run(Thread.java:833)
   ```
   
   
   ### Modifications
   
   Message  is not added to delayed priorityQueue immediately after send.


-- 
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] github-actions[bot] commented on pull request #17180: [fix][flaky-test] Fix flaky test testBacklogNoDelayedForPartitionedTopic

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #17180:
URL: https://github.com/apache/pulsar/pull/17180#issuecomment-1220380281

   @gaozhangmin Please provide a correct documentation label for your PR.
   Instructions see [Pulsar Documentation Label Guide](https://docs.google.com/document/d/1Qw7LHQdXWBW9t2-r-A7QdFDBwmZh6ytB4guwMoXHqc0).


-- 
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] gaozhangmin commented on pull request #17180: [fix][flaky-test] Fix flaky test testBacklogNoDelayedForPartitionedTopic

Posted by GitBox <gi...@apache.org>.
gaozhangmin commented on PR #17180:
URL: https://github.com/apache/pulsar/pull/17180#issuecomment-1220856640

   /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


[GitHub] [pulsar] Technoboy- merged pull request #17180: [fix][flaky-test] Fix flaky test testBacklogNoDelayedForPartitionedTopic

Posted by GitBox <gi...@apache.org>.
Technoboy- merged PR #17180:
URL: https://github.com/apache/pulsar/pull/17180


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