aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/mock_test.cc
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/end2end/mock_test.cc
parente6d12d335c160b02a8f866775ffe953962f5988f (diff)
Make thread_pool.h a public header
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction of DynamicSizeThreadPool
Diffstat (limited to 'test/cpp/end2end/mock_test.cc')
-rw-r--r--test/cpp/end2end/mock_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/end2end/mock_test.cc b/test/cpp/end2end/mock_test.cc
index 2809ab8d3c..0cffaf6dde 100644
--- a/test/cpp/end2end/mock_test.cc
+++ b/test/cpp/end2end/mock_test.cc
@@ -37,7 +37,6 @@
#include "test/core/util/test_config.h"
#include "test/cpp/util/echo_duplicate.grpc.pb.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>
@@ -49,6 +48,7 @@
#include <grpc++/server_credentials.h>
#include <grpc++/status.h>
#include <grpc++/stream.h>
+#include <grpc++/thread_pool.h>
#include <grpc++/time.h>
#include <gtest/gtest.h>
@@ -258,7 +258,7 @@ class MockTest : public ::testing::Test {
std::unique_ptr<Server> server_;
std::ostringstream server_address_;
TestServiceImpl service_;
- ThreadPool thread_pool_;
+ FixedSizeThreadPool thread_pool_;
};
// Do one real rpc and one mocked one