Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
project: Disable `project_tests::test_rescan_and_remote_updates` on Linux (#13062)
Marshall Bowers6ca09bd4ba28
diff --git a/crates/project/src/project_tests.rs b/crates/project/src/project_tests.rsindex 918c075d769..09fdd439dd7 100644--- a/crates/project/src/project_tests.rs+++ b/crates/project/src/project_tests.rs@@ -16,7 +16,6 @@ use std::task::Poll;use task::{ResolvedTask, TaskContext, TaskTemplate, TaskTemplates};use unindent::Unindent as _;use util::{assert_set_eq, paths::PathMatcher, test::temp_tree};-use worktree::WorktreeModelHandle as _;#[gpui::test]async fn test_block_via_channel(cx: &mut gpui::TestAppContext) {@@ -2978,8 +2977,12 @@ async fn test_save_as(cx: &mut gpui::TestAppContext) {assert_eq!(opened_buffer, buffer);}+// This test is currently disabled on Linux as it fails fails pretty consistently on that target.+#[cfg(not(target_os = "linux"))]#[gpui::test(retries = 5)]async fn test_rescan_and_remote_updates(cx: &mut gpui::TestAppContext) {+ use worktree::WorktreeModelHandle as _;+init_test(cx);cx.executor().allow_parking();