mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Add run until parked to test_fs_operations to ensure both update chunks are completed before asserting the changes
This commit is contained in:
parent
5431488a9a
commit
0f93386071
1 changed files with 2 additions and 0 deletions
|
@ -2571,6 +2571,8 @@ async fn test_fs_operations(
|
|||
})
|
||||
.await
|
||||
.unwrap();
|
||||
deterministic.run_until_parked();
|
||||
|
||||
worktree_a.read_with(cx_a, |worktree, _| {
|
||||
assert_eq!(
|
||||
worktree
|
||||
|
|
Loading…
Reference in a new issue