pull/4828/head
vjpai 9 years ago
parent 64edc3bdd7
commit c1e70dbc61
  1. 2
      test/cpp/end2end/thread_stress_test.cc

@ -219,7 +219,7 @@ TEST_F(End2endTest, ThreadStress) {
ResetStub(); ResetStub();
std::vector<std::thread*> threads; std::vector<std::thread*> threads;
for (int i = 0; i < 100; ++i) { for (int i = 0; i < 100; ++i) {
threads.push_back(new std::thread(SendRpc, stub_.get(), 100)); threads.push_back(new std::thread(SendRpc, stub_.get(), 1000));
} }
for (int i = 0; i < 100; ++i) { for (int i = 0; i < 100; ++i) {
threads[i]->join(); threads[i]->join();

Loading…
Cancel
Save