yrsh commented on pull request #8249:
URL: https://github.com/apache/pulsar/pull/8249#issuecomment-713570257


   @sijie Thanks! I thought about tests, but when I did this feature I did not 
figure out how to make it. Because I don't see there tests that directly check 
the work of handlers. For example, there are no ack test in 
AbstractWebSocketHandlerTest. To check the nack, in theory we should accept the 
message, reject it, and then make sure that it appeared in DLQ. I.e. this is 
functional test, not unit. Can you explain me what test case should I do in 
current solution?


----------------------------------------------------------------
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:
[email protected]


Reply via email to