mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 14:57:14 +00:00
std: Do less work in the timer stress tests
This commit is contained in:
parent
1c1af99052
commit
8d9f67003a
@ -143,7 +143,7 @@ mod test {
|
||||
|
||||
#[test]
|
||||
fn test_gl_timer_sleep_stress1() {
|
||||
iter::repeat(500u) {||
|
||||
iter::repeat(200u) {||
|
||||
sleep(1u);
|
||||
}
|
||||
}
|
||||
@ -153,12 +153,12 @@ mod test {
|
||||
let po = comm::port();
|
||||
let ch = comm::chan(po);
|
||||
|
||||
let repeat = 100u;
|
||||
let repeat = 20u;
|
||||
let spec = {
|
||||
|
||||
[(1u, 100u),
|
||||
[(1u, 20u),
|
||||
(10u, 10u),
|
||||
(100u, 2u)]
|
||||
(20u, 2u)]
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user