Skip to content

Commit a29f000

Browse files
committed
Downsize tcp-stress.rs again
1 parent c23f07d commit a29f000

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/ui/threads-sendsync/tcp-stress.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ use std::sync::mpsc::channel;
1111
use std::thread::{self, Builder};
1212
use std::time::Duration;
1313

14-
const TARGET_CNT: usize = 200;
14+
// NOTE(#144878): even though this is technically a stress test, only limit to 100 threads, because
15+
// sometimes the runner might be busy and can't cleanup the previous count of 200 threads in time,
16+
// triggering timeout flaky failures.
17+
const TARGET_CNT: usize = 100;
1518

1619
fn main() {
1720
// This test has a chance to time out, try to not let it time out

0 commit comments

Comments
 (0)