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/07/09 11:50:41 UTC

[GitHub] [pulsar] Technoboy- opened a new issue, #16498: Flaky-test: PersistentDispatcherFailoverConsumerTest. testAddRemoveConsumerNonPartitionedTopic

Technoboy- opened a new issue, #16498:
URL: https://github.com/apache/pulsar/issues/16498

   ```
   Error:  Tests run: 14, Failures: 6, Errors: 0, Skipped: 7, Time elapsed: 21.986 s <<< FAILURE! - in org.apache.pulsar.broker.service.PersistentDispatcherFailoverConsumerTest
     Error:  testAddRemoveConsumerNonPartitionedTopic(org.apache.pulsar.broker.service.PersistentDispatcherFailoverConsumerTest)  Time elapsed: 1.056 s  <<< FAILURE!
     Wanted but not invoked:
     consumer.notifyActiveConsumerChange(
         same(Consumer{subscription=PersistentSubscription{topic=persistent://part-perf/global/perf.t1/ptopic, name=sub-1}, consumerId=2, consumerName=Cons2, address=localhost/127.0.0.1:1234})
     );
     -> at org.apache.pulsar.broker.service.Consumer.notifyActiveConsumerChange(Consumer.java:218)
     
     However, there was exactly 1 interaction with this mock:
     consumer.notifyActiveConsumerChange(
         Consumer{subscription=PersistentSubscription{topic=persistent://part-perf/global/perf.t1/ptopic, name=sub-1}, consumerId=1, consumerName=Cons1, address=localhost/127.0.0.1:1234}
     );
     -> at org.apache.pulsar.broker.service.AbstractDispatcherSingleActiveConsumer.addConsumer(AbstractDispatcherSingleActiveConsumer.java:180)
     
     
     	at org.apache.pulsar.broker.service.Consumer.notifyActiveConsumerChange(Consumer.java:218)
     	at org.apache.pulsar.broker.service.PersistentDispatcherFailoverConsumerTest.testAddRemoveConsumerNonPartitionedTopic(PersistentDispatcherFailoverConsumerTest.java:502)
     	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)
   ```
   
   


-- 
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.apache.org

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


[GitHub] [pulsar] github-actions[bot] commented on issue #16498: Flaky-test: PersistentDispatcherFailoverConsumerTest. testAddRemoveConsumerNonPartitionedTopic

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16498:
URL: https://github.com/apache/pulsar/issues/16498#issuecomment-1208834805

   The issue had no activity for 30 days, mark with Stale label.


-- 
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] poorbarcode closed issue #16498: Flaky-test: PersistentDispatcherFailoverConsumerTest. testAddRemoveConsumerNonPartitionedTopic

Posted by "poorbarcode (via GitHub)" <gi...@apache.org>.
poorbarcode closed issue #16498: Flaky-test: PersistentDispatcherFailoverConsumerTest. testAddRemoveConsumerNonPartitionedTopic
URL: https://github.com/apache/pulsar/issues/16498


-- 
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] poorbarcode commented on issue #16498: Flaky-test: PersistentDispatcherFailoverConsumerTest. testAddRemoveConsumerNonPartitionedTopic

Posted by "poorbarcode (via GitHub)" <gi...@apache.org>.
poorbarcode commented on issue #16498:
URL: https://github.com/apache/pulsar/issues/16498#issuecomment-1438128623

   The logic of test `testAddRemoveConsumerNonPartitionedTopic` has changed now, we should close this issue.


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