From c03b2f6b38bcb5b77b6a8e3ed0a9261719b8d4b5 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 22 Aug 2022 07:41:56 -0700 Subject: [PATCH] [fixit] Scale down large tests (#30677) We have many tests that create 100 threads or more, and mounting evidence that this is harmful to our CI environment. When the original code for many of these tests was written we ran our tests under run_tests, which had explicit handling for tracking the number of threads each test needed and making sure that we weren't over subscribing the test runner. Bazel has no such facility (and the facility in run_tests has since been removed) and so we need to adjust. This PR adjusts down a single test and is part of a series so that we can review and roll back easily if required. --- test/cpp/client/client_channel_stress_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/client/client_channel_stress_test.cc b/test/cpp/client/client_channel_stress_test.cc index 397c35c817e..8edd0b82ed9 100644 --- a/test/cpp/client/client_channel_stress_test.cc +++ b/test/cpp/client/client_channel_stress_test.cc @@ -63,7 +63,7 @@ namespace { const size_t kNumBackends = 10; const size_t kNumBalancers = 5; -const size_t kNumClientThreads = 100; +const size_t kNumClientThreads = 10; const int kResolutionUpdateIntervalMs = 50; const int kServerlistUpdateIntervalMs = 10; const int kTestDurationSec = 30;