aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-02-03 16:21:25 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-02-03 16:21:25 -0800
commitfeef8be5aeba73fa2d96ec282d1da8b885340f62 (patch)
tree5da69bcb41766a46fb4f95e58ab7b2330aaa00ab
parent63b28447e8a3d27e21e72b6ee3b7f0b7dab166ed (diff)
clang-format
-rw-r--r--test/cpp/end2end/thread_stress_test.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/cpp/end2end/thread_stress_test.cc b/test/cpp/end2end/thread_stress_test.cc
index 151b754c62..64e17cf44f 100644
--- a/test/cpp/end2end/thread_stress_test.cc
+++ b/test/cpp/end2end/thread_stress_test.cc
@@ -55,8 +55,8 @@ using grpc::testing::EchoRequest;
using grpc::testing::EchoResponse;
using std::chrono::system_clock;
-const int kNumThreads = 100; // Number of threads
-const int kNumRpcs = 1000; // Number of RPCs per thread
+const int kNumThreads = 100; // Number of threads
+const int kNumRpcs = 1000; // Number of RPCs per thread
namespace grpc {
namespace testing {
@@ -232,8 +232,7 @@ TEST_F(End2endTest, ThreadStress) {
common_.ResetStub();
std::vector<std::thread*> threads;
for (int i = 0; i < kNumThreads; ++i) {
- threads.push_back(
- new std::thread(SendRpc, common_.GetStub(), kNumRpcs));
+ threads.push_back(new std::thread(SendRpc, common_.GetStub(), kNumRpcs));
}
for (int i = 0; i < kNumThreads; ++i) {
threads[i]->join();