aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/end2end_test.cc
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-11-11 14:32:55 -0800
committerGravatar Vijay Pai <vpai@google.com>2018-11-11 14:32:55 -0800
commita192fc68804ca86277ec4b62b9d0d5b53cd5fdd0 (patch)
treebda1741e1cda7b21ddf7578cb658a2007906b734 /test/cpp/end2end/end2end_test.cc
parent6d0add97736b781acbf5a155229e14cb6200253e (diff)
Fix clang-tidy issues
Diffstat (limited to 'test/cpp/end2end/end2end_test.cc')
-rw-r--r--test/cpp/end2end/end2end_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc
index 4558437102..03291e1785 100644
--- a/test/cpp/end2end/end2end_test.cc
+++ b/test/cpp/end2end/end2end_test.cc
@@ -272,6 +272,7 @@ class End2endTest : public ::testing::TestWithParam<TestScenario> {
std::unique_ptr<experimental::ServerInterceptorFactoryInterface>>
creators;
// Add 20 dummy server interceptors
+ creators.reserve(20);
for (auto i = 0; i < 20; i++) {
creators.push_back(std::unique_ptr<DummyInterceptorFactory>(
new DummyInterceptorFactory()));