pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] sijie commented on issue #3829: [Issue 3806] Fix NPE while call PartitionedProducerImpl.getStats()
Date Fri, 15 Mar 2019 15:18:25 GMT
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

Mime
View raw message