Skip to content

Commit

Permalink
reduce stress constants in std::timer::tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bblum committed Aug 17, 2012
1 parent 5f57588 commit f188d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ mod test {
#[test]
fn test_gl_timer_sleep_stress1() {
let hl_loop = uv::global_loop::get();
for iter::repeat(200u) {
for iter::repeat(50u) {
sleep(hl_loop, 1u);
}
}
Expand Down Expand Up @@ -242,7 +242,7 @@ mod test {
let test_ch = core::comm::chan(test_po);

do task::spawn() {
delayed_send(hl_loop, 1000u, test_ch, expected);
delayed_send(hl_loop, 50u, test_ch, expected);
};

match recv_timeout(hl_loop, 1u, test_po) {
Expand Down

0 comments on commit f188d92

Please sign in to comment.