diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-12-09 10:48:23 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-12-09 10:48:23 -0800 |
commit | f931f58f18be3e453110a28ef0aca7587d92b987 (patch) | |
tree | 2995a7653a09518f8222a187a209fb6925f9044d /test/cpp/end2end | |
parent | 6eee3ddfb8a73ca9a5835acce9062466cad28014 (diff) | |
parent | ae109b5d8a1a07f4f9afe631a83bc398a49fe0cc (diff) |
Merge github.com:grpc/grpc into secsvr
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r-- | test/cpp/end2end/generic_end2end_test.cc | 4 |
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(); } |