mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 08:31:04 +00:00
Run fewer iterations of the gpui list test by default
This commit is contained in:
parent
fbe77e92b4
commit
df4b5890fd
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ mod tests {
|
||||||
assert_eq!(state.0.borrow().scroll_top(&logical_scroll_top), 114.);
|
assert_eq!(state.0.borrow().scroll_top(&logical_scroll_top), 114.);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[crate::test(self, iterations = 10000, seed = 0)]
|
#[crate::test(self, iterations = 10, seed = 0)]
|
||||||
fn test_random(cx: &mut crate::MutableAppContext, mut rng: StdRng) {
|
fn test_random(cx: &mut crate::MutableAppContext, mut rng: StdRng) {
|
||||||
let operations = env::var("OPERATIONS")
|
let operations = env::var("OPERATIONS")
|
||||||
.map(|i| i.parse().expect("invalid `OPERATIONS` variable"))
|
.map(|i| i.parse().expect("invalid `OPERATIONS` variable"))
|
||||||
|
|
Loading…
Reference in a new issue