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 2020/08/04 09:23:08 UTC

[GitHub] [pulsar] zhijianfree opened a new issue #7740: How can i mock broker ?

zhijianfree opened a new issue #7740:
URL: https://github.com/apache/pulsar/issues/7740


   in my project system, pulsar is core part. so we need test unit to promise code is correct. but i don't know how to mock pulsar. can offer shou some example about it. we need mock pulsar broker .


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



[GitHub] [pulsar] sijie commented on issue #7740: How can i mock broker ?

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #7740:
URL: https://github.com/apache/pulsar/issues/7740#issuecomment-682728475


   @zhijianfree Can you check the example that Jia shared?


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



[GitHub] [pulsar] sijie commented on issue #7740: How can i mock broker ?

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #7740:
URL: https://github.com/apache/pulsar/issues/7740#issuecomment-668935911


   @codelipenghui @jiazhai Can you provide some guidance on mocking Pulsar broker?


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



[GitHub] [pulsar] sijie closed issue #7740: How can i mock broker ?

Posted by GitBox <gi...@apache.org>.
sijie closed issue #7740:
URL: https://github.com/apache/pulsar/issues/7740


   


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



[GitHub] [pulsar] sijie commented on issue #7740: How can i mock broker ?

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #7740:
URL: https://github.com/apache/pulsar/issues/7740#issuecomment-708882941


   Closed the issue since Jia has provided the example. If it is not sufficient, please reopen the issue.


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



[GitHub] [pulsar] jiazhai commented on issue #7740: How can i mock broker ?

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #7740:
URL: https://github.com/apache/pulsar/issues/7740#issuecomment-668936153


   https://github.com/streamnative/aop/blob/master/tests/src/test/java/io/streamnative/pulsar/handlers/amqp/AmqpProtocolHandlerTestBase.java


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