mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 06:05:19 +00:00
Deliver file-system change events in batches in randomized worktree test
Co-Authored-By: Julia Risley <julia@zed.dev>
This commit is contained in:
parent
5c859da457
commit
7f27d72b20
1 changed files with 1 additions and 0 deletions
|
@ -3944,6 +3944,7 @@ mod tests {
|
|||
|
||||
let mut snapshots = Vec::new();
|
||||
let mut mutations_len = operations;
|
||||
fs.as_fake().pause_events().await;
|
||||
while mutations_len > 1 {
|
||||
randomly_mutate_fs(&fs, root_dir, 1.0, &mut rng).await;
|
||||
let buffered_event_count = fs.as_fake().buffered_event_count().await;
|
||||
|
|
Loading…
Reference in a new issue