Merge pull request #6822 from yang-g/empty_message_test

add a test with empty request
This commit is contained in:
Jan Tattermusch 2016-06-09 17:22:10 -07:00 committed by GitHub
commit 698d3e91ff
1 changed files with 10 additions and 0 deletions

View File

@ -1014,6 +1014,16 @@ TEST_P(ProxyEnd2endTest, SimpleRpc) {
SendRpc(stub_.get(), 1, false);
}
TEST_P(ProxyEnd2endTest, SimpleRpcWithEmptyMessages) {
ResetStub();
EchoRequest request;
EchoResponse response;
ClientContext context;
Status s = stub_->Echo(&context, request, &response);
EXPECT_TRUE(s.ok());
}
TEST_P(ProxyEnd2endTest, MultipleRpcs) {
ResetStub();
std::vector<std::thread*> threads;