aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-09 10:48:23 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-09 10:48:23 -0800
commitf931f58f18be3e453110a28ef0aca7587d92b987 (patch)
tree2995a7653a09518f8222a187a209fb6925f9044d /test/cpp/end2end
parent6eee3ddfb8a73ca9a5835acce9062466cad28014 (diff)
parentae109b5d8a1a07f4f9afe631a83bc398a49fe0cc (diff)
Merge github.com:grpc/grpc into secsvr
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r--test/cpp/end2end/generic_end2end_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cpp/end2end/generic_end2end_test.cc b/test/cpp/end2end/generic_end2end_test.cc
index 082119d6d5..6ecf7eb2fe 100644
--- a/test/cpp/end2end/generic_end2end_test.cc
+++ b/test/cpp/end2end/generic_end2end_test.cc
@@ -102,6 +102,10 @@ class GenericEnd2endTest : public ::testing::Test {
builder.AddListeningPort(server_address_.str(),
InsecureServerCredentials());
builder.RegisterAsyncGenericService(&generic_service_);
+ // Include a second call to RegisterAsyncGenericService to make sure that
+ // we get an error in the log, since it is not allowed to have 2 async
+ // generic services
+ builder.RegisterAsyncGenericService(&generic_service_);
srv_cq_ = builder.AddCompletionQueue();
server_ = builder.BuildAndStart();
}