-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RATIS-1071. NettyClientRpc supports sendRequestAsync #204
Conversation
@szetszwo any feedback on this change? |
@szetszwo fridenly ping~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this. Just have some comments on the test.
@@ -67,7 +67,11 @@ | |||
<scope>test</scope> | |||
<type>test-jar</type> | |||
</dependency> | |||
|
|||
<dependency> | |||
<groupId>junit</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move the test to ratis-test.
import org.junit.Assert; | ||
import org.junit.Test; | ||
|
||
public class TestNettyClientRpcAsync extends BaseTest implements MiniRaftClusterWithNetty.FactoryGet { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test extending RaftAsyncTests; see TestRaftAsyncWithGrpc. Then, this test can be removed.
@amaliujia , thanks a lot for your initial work! I will continue this pull request in #1122 . |
What changes were proposed in this pull request?
Expose
sendRequestAsync
API inNettyClientRpc
.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1071
How was this patch tested?
UT