aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-03-14 15:53:30 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-03-14 15:53:30 -0700
commitcc43d693e5c715fcbdab1717efc4c84ef836a1fb (patch)
tree4ee499c51eb7d2d21807126910ef3fb527fbb1ee /test
parentf9b26d946343a7fdf1270084c1246e412a127ec2 (diff)
Reduce the number of threads so that this test works on x86 systems
Diffstat (limited to 'test')
-rw-r--r--test/core/support/thd_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/support/thd_test.c b/test/core/support/thd_test.c
index f7807d280a..2671dd3d3d 100644
--- a/test/core/support/thd_test.c
+++ b/test/core/support/thd_test.c
@@ -79,9 +79,9 @@ static void test_options(void) {
static void test(void) {
int i;
gpr_thd_id thd;
- gpr_thd_id thds[1000];
+ gpr_thd_id thds[300];
struct test t;
- int n = 1000;
+ int n = 300;
gpr_thd_options options = gpr_thd_options_default();
gpr_mu_init(&t.mu);
gpr_cv_init(&t.done_cv);