You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/10/15 02:39:02 UTC

[GitHub] [rocketmq] keranbingaa opened a new issue #1528: unit test of DefaultMQProducer has some problems when send async messages

keranbingaa opened a new issue #1528: unit test of DefaultMQProducer has some problems when send async messages
URL: https://github.com/apache/rocketmq/issues/1528
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   in DefaultMQProducerTest, the async mode test doesn't execute as expected. 
   For example, the testSendMessageAsync_Success function call send function, which is expected to excute callback function onSuccess, but when I debug, I find it calls onException.
   
   2. Please tell us about your environment:
   rocketMQ 4.5
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   when producer get the topicrouteinfo, it returns null, which causes this problem. So if the producer get right topicrouteinfo and call sendback function, it canbe excuted as we expected. 
   
   

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