diff --git a/crates/project/src/project_tests.rs b/crates/project/src/project_tests.rs index 918c075d76..09fdd439dd 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();