aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-06-10 15:46:23 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-06-10 15:46:23 -0700
commited81a88c3e13aaab4a3cb89ad5bcc0cf1f336342 (patch)
tree959ad9b928d82256031cb651bb8c73948d9401ef /test/cpp
parentbeaa35724c4eb67eb5f890d6f66e0fd3b2f50aaa (diff)
parenta9e3ea38150a0e8adf0594b7ffac1441244e0142 (diff)
Merge remote-tracking branch 'upstream/master' into log_format_check
Diffstat (limited to 'test/cpp')
-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;