yuruguo commented on pull request #12020:
URL: https://github.com/apache/pulsar/pull/12020#issuecomment-924599172


   > LGTM.
   > Why are the two judgment conditions not merged together?
   > 
   > ```
   > if (testTime > 0 && System.nanoTime() > testEndTime) 
   > ```
   
   In fact, there is no problem to merge together. it should be referred to 
`PerformanceProducer` for separate judgments, as follow:
   
https://github.com/apache/pulsar/blob/4ddbf6f909634751cc2cf1155daa462922416536/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceProducer.java#L601-L610


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

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to