Add comment

pull/6644/head
Craig Tiller 9 years ago
parent d263b925e8
commit 04a468122f
  1. 2
      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();

Loading…
Cancel
Save