Skip to content

Commit 6fbd538

Browse files
committed
auto merge of #7195 : brson/rust/timertest, r=bstrie
2 parents 90b999a + 93156ab commit 6fbd538

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/rt/uv/timer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ mod test {
143143
let count_ptr: *mut int = &mut count;
144144
let mut loop_ = Loop::new();
145145
let mut timer = TimerWatcher::new(&mut loop_);
146-
do timer.start(10, 20) |timer, status| {
146+
do timer.start(1, 2) |timer, status| {
147147
assert!(status.is_none());
148148
unsafe {
149149
*count_ptr += 1;
@@ -166,7 +166,7 @@ mod test {
166166

167167
// Restart the original timer
168168
let mut timer = timer;
169-
do timer.start(10, 0) |timer, _| {
169+
do timer.start(1, 0) |timer, _| {
170170
unsafe { *count_ptr += 1; }
171171
timer.close(||());
172172
}

0 commit comments

Comments
 (0)