aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-07-15 12:33:37 -0700
committerGravatar Vijay Pai <vpai@google.com>2015-07-15 12:33:37 -0700
commit69f241008645503e1241272f279dc7f02e183e87 (patch)
treef0b362239414ee80c6f00a90389ce1c46b100928 /test/cpp/util
parente6d12d335c160b02a8f866775ffe953962f5988f (diff)
Make thread_pool.h a public header
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction of DynamicSizeThreadPool
Diffstat (limited to 'test/cpp/util')
-rw-r--r--test/cpp/util/cli_call_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/util/cli_call_test.cc b/test/cpp/util/cli_call_test.cc
index 6cf86ea89b..fd2662f6dc 100644
--- a/test/cpp/util/cli_call_test.cc
+++ b/test/cpp/util/cli_call_test.cc
@@ -34,7 +34,6 @@
#include "test/core/util/test_config.h"
#include "test/cpp/util/cli_call.h"
#include "test/cpp/util/echo.grpc.pb.h"
-#include "src/cpp/server/thread_pool.h"
#include <grpc++/channel_arguments.h>
#include <grpc++/channel_interface.h>
#include <grpc++/client_context.h>
@@ -45,6 +44,7 @@
#include <grpc++/server_context.h>
#include <grpc++/server_credentials.h>
#include <grpc++/status.h>
+#include <grpc++/thread_pool.h>
#include "test/core/util/port.h"
#include <gtest/gtest.h>
@@ -102,7 +102,7 @@ class CliCallTest : public ::testing::Test {
std::unique_ptr<Server> server_;
std::ostringstream server_address_;
TestServiceImpl service_;
- ThreadPool thread_pool_;
+ FixedSizeThreadPool thread_pool_;
};
// Send a rpc with a normal stub and then a CliCall. Verify they match.