Skip to content

Commit e0a5c31

Browse files
authored
Increase number of threads in stress test (grpc#28821)
In some configurations 100 threads is not enough to cause exhaustion failing tests. Increase number of threads to ensure resource exhaustion
1 parent 40f2c2a commit e0a5c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cpp/end2end/thread_stress_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
using grpc::testing::EchoRequest;
4444
using grpc::testing::EchoResponse;
4545

46-
const int kNumThreads = 100; // Number of threads
46+
const int kNumThreads = 300; // Number of threads
4747
const int kNumAsyncSendThreads = 2;
4848
const int kNumAsyncReceiveThreads = 50;
4949
const int kNumAsyncServerThreads = 50;

0 commit comments

Comments
 (0)