Increase number of threads in stress test (#28821)

In some configurations 100 threads is not enough to cause exhaustion failing tests.

Increase number of threads to ensure resource exhaustion
pull/28888/head
Oscar Shi 3 years ago committed by GitHub
parent 40f2c2a4e1
commit e0a5c310cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/end2end/thread_stress_test.cc

@ -43,7 +43,7 @@
using grpc::testing::EchoRequest;
using grpc::testing::EchoResponse;
const int kNumThreads = 100; // Number of threads
const int kNumThreads = 300; // Number of threads
const int kNumAsyncSendThreads = 2;
const int kNumAsyncReceiveThreads = 50;
const int kNumAsyncServerThreads = 50;

Loading…
Cancel
Save