From 3ea293ddf2af66c9a2e720ce3139aed75787d890 Mon Sep 17 00:00:00 2001 From: Moritz Ulrich Date: Mon, 1 Aug 2016 09:43:19 +0200 Subject: [PATCH] tcp-stress-test.rs: Only spawn 200 threads. --- src/test/run-pass/tcp-stress.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-pass/tcp-stress.rs b/src/test/run-pass/tcp-stress.rs index e5b418bb733..0ba019c591c 100644 --- a/src/test/run-pass/tcp-stress.rs +++ b/src/test/run-pass/tcp-stress.rs @@ -21,7 +21,7 @@ use std::sync::mpsc::channel; use std::time::Duration; use std::thread::{self, Builder}; -const TARGET_CNT: usize = 1000; +const TARGET_CNT: usize = 200; fn main() { // This test has a chance to time out, try to not let it time out