From 0232d7a73f548da8f07757989c16abaf84bc7cca Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Fri, 17 Oct 2025 17:22:28 +0200 Subject: [PATCH] Moar parking --- crates/project/src/project_tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/project/src/project_tests.rs b/crates/project/src/project_tests.rs index 3636eb56504c3fbf52bda1695b65e6a244984384..e5a17069cb40c24be64090fa808c9a558050d729 100644 --- a/crates/project/src/project_tests.rs +++ b/crates/project/src/project_tests.rs @@ -8878,6 +8878,7 @@ async fn test_ignored_dirs_events(cx: &mut gpui::TestAppContext) { git_commit("Initial commit", &repo); let project = Project::test(Arc::new(RealFs::new(None, cx.executor())), [root_path], cx).await; + cx.run_until_parked(); let repository_updates = Arc::new(Mutex::new(Vec::new())); let project_events = Arc::new(Mutex::new(Vec::new())); project.update(cx, |project, cx| { @@ -8904,6 +8905,7 @@ async fn test_ignored_dirs_events(cx: &mut gpui::TestAppContext) { let tree = project.read_with(cx, |project, cx| project.worktrees(cx).next().unwrap()); tree.flush_fs_events(cx).await; + cx.run_until_parked(); tree.update(cx, |tree, cx| { tree.load_file(rel_path("project/target/debug/important_text.txt"), cx) })