Skip to content

Commit f188d92

Browse files
committed
reduce stress constants in std::timer::tests
1 parent 5f57588 commit f188d92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/timer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ mod test {
153153
#[test]
154154
fn test_gl_timer_sleep_stress1() {
155155
let hl_loop = uv::global_loop::get();
156-
for iter::repeat(200u) {
156+
for iter::repeat(50u) {
157157
sleep(hl_loop, 1u);
158158
}
159159
}
@@ -242,7 +242,7 @@ mod test {
242242
let test_ch = core::comm::chan(test_po);
243243

244244
do task::spawn() {
245-
delayed_send(hl_loop, 1000u, test_ch, expected);
245+
delayed_send(hl_loop, 50u, test_ch, expected);
246246
};
247247

248248
match recv_timeout(hl_loop, 1u, test_po) {

0 commit comments

Comments
 (0)