Skip to content
Snippets Groups Projects
Commit 04a46812 authored by Craig Tiller's avatar Craig Tiller
Browse files

Add comment

parent d263b925
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment