about summary refs log tree commit diff
path: root/src/libstd/timer.rs
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-08-16 17:22:09 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-08-16 21:07:55 -0400
commitf188d92dfe824ce45d7128940b8ac60741975cfb (patch)
tree9fdd61819424033d8c080c1278967d04e81d614c /src/libstd/timer.rs
parent5f5758888762aa1f70355d3440ef0f0e58f80cb8 (diff)
downloadrust-f188d92dfe824ce45d7128940b8ac60741975cfb.tar.gz
rust-f188d92dfe824ce45d7128940b8ac60741975cfb.zip
reduce stress constants in std::timer::tests
Diffstat (limited to 'src/libstd/timer.rs')
-rw-r--r--src/libstd/timer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/timer.rs b/src/libstd/timer.rs
index 6be8ff05bba..67df1e9e190 100644
--- a/src/libstd/timer.rs
+++ b/src/libstd/timer.rs
@@ -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);
         }
     }
@@ -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) {