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/03/15 15:18:25 UTC

[GitHub] [pulsar] sijie commented on issue #3829: [Issue 3806] Fix NPE while call PartitionedProducerImpl.getStats()

sijie commented on issue #3829: [Issue 3806] Fix NPE while call PartitionedProducerImpl.getStats()
URL: https://github.com/apache/pulsar/pull/3829#issuecomment-473326758
 
 
   >  I got stuck about the unit test, can you give me some advice? Thanks!
   
   you can just add a new test file `PartitionedProducerImplTest` and then test - if you construct a `PartitionedProducerImpl` using the zero arg constructor, it will not get NPE when accessing the variables.

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