Add run until parked to test_fs_operations to ensure both update chunks are completed before asserting the changes

This commit is contained in:
Kay Simmons 2023-01-27 15:07:51 -08:00
parent 5431488a9a
commit 0f93386071

View file

@ -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