pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] wolfstudy opened a new issue #4099: [flaky unit test]
Date Mon, 22 Apr 2019 08:09:01 GMT
wolfstudy opened a new issue #4099: [flaky unit test] 
URL: https://github.com/apache/pulsar/issues/4099
 
 
   **Describe the bug**
   
   ```
   2019-04-22\T\03:52:53.868 [ERROR] testUnsupportedBatchMessageConsumer(org.apache.pulsar.client.impl.BrokerClientIntegrationTest)
 Time elapsed: 1.36 s  <<< FAILURE!
   java.lang.NullPointerException
   	at org.apache.pulsar.client.impl.BrokerClientIntegrationTest.testUnsupportedBatchMessageConsumer(BrokerClientIntegrationTest.java:382)
   	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)
   ```
   
   when i run java unit tests of Jenkins, there will always be some strange mistakes. In java
unit tests of pulsar, there are a lot of test cases that use the same topicName, I was wondering
if it is related to this reason.
   
   ```
   final String topicName = "persistent://my-property/my-ns/my-topic1";
   ```
   
   **Screenshots**
   
   ![image](https://user-images.githubusercontent.com/20965307/56490763-de04fc80-6518-11e9-83e4-15335f905d7b.png)
   
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message