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 2019/02/04 18:29:10 UTC
[GitHub] merlimat opened a new pull request #3517: Improved
SimpleProducerConsumerTest to avoid receive timeout
merlimat opened a new pull request #3517: Improved SimpleProducerConsumerTest to avoid receive timeout
URL: https://github.com/apache/pulsar/pull/3517
### Motivation
As seen in some CI jobs, this test was failing because of the receive timeout expiration. Since the test involves restarting the (single instance of the) broker, it might take sometimes more than 5 for client to be successfully reconnected.
```
org.apache.pulsar.client.api.SimpleProducerConsumerTest.testBackoffAndReconnect
Stacktrace
java.lang.NullPointerException
at org.apache.pulsar.client.api.SimpleProducerConsumerTest.testBackoffAndReconnect(SimpleProducerConsumerTest.java:330)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services