From 0f93386071ec5a7f3b0f9293136a757735738aeb Mon Sep 17 00:00:00 2001 From: Kay Simmons Date: Fri, 27 Jan 2023 15:07:51 -0800 Subject: [PATCH] Add run until parked to test_fs_operations to ensure both update chunks are completed before asserting the changes --- crates/collab/src/tests/integration_tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/collab/src/tests/integration_tests.rs b/crates/collab/src/tests/integration_tests.rs index a645d6dc71ed24732d44291bab047db3844019ee..1818361be3cbfa5d7814f91bbbc9b5e5f56c683c 100644 --- a/crates/collab/src/tests/integration_tests.rs +++ b/crates/collab/src/tests/integration_tests.rs @@ -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