aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-21 09:16:57 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-06-21 09:16:57 -0700
commit04a468122f0072cbd8a67d66dfd8243ce3ddface (patch)
tree293236218c3a7fdd2decba081fd978e39aa2141a /test/cpp
parentd263b925e8b8ce36042f34eda34715696b6eef3e (diff)
Add comment
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/end2end/server_builder_plugin_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/end2end/server_builder_plugin_test.cc b/test/cpp/end2end/server_builder_plugin_test.cc
index 7d0b467d81..778a2be573 100644
--- a/test/cpp/end2end/server_builder_plugin_test.cc
+++ b/test/cpp/end2end/server_builder_plugin_test.cc
@@ -188,6 +188,8 @@ class ServerBuilderPluginTest : public ::testing::TestWithParam<bool> {
void StartServer() {
grpc::string server_address = "localhost:" + to_string(port_);
builder_->AddListeningPort(server_address, InsecureServerCredentials());
+ // we run some tests without a service, and for those we need to supply a
+ // frequently polled completion queue
cq_ = builder_->AddCompletionQueue();
cq_thread_ = grpc::thread(std::bind(&ServerBuilderPluginTest::RunCQ, this));
server_ = builder_->BuildAndStart();