aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/end2end_test.cc
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-06-10 09:24:40 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-06-10 09:24:40 -0700
commit11e3c07616fdbf4576969334e0cf57680b2dd3fd (patch)
tree730c8dfb2a5190d3e8c5d799c7520bb5790e4eab /test/cpp/end2end/end2end_test.cc
parent492fd961824447e7f12974893dd9bbf37291e5cc (diff)
parent698d3e91ff42db3fe640cc369e8edf85abc5343d (diff)
Merge branch 'master' into epoll_changes
Diffstat (limited to 'test/cpp/end2end/end2end_test.cc')
-rw-r--r--test/cpp/end2end/end2end_test.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc
index f52aa52f39..e3667cf26b 100644
--- a/test/cpp/end2end/end2end_test.cc
+++ b/test/cpp/end2end/end2end_test.cc
@@ -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;