From 6ca09bd4ba288578c4082bb9f33f8bc8a3b2ed7a Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 14 Jun 2024 14:20:52 -0400 Subject: [PATCH] project: Disable `project_tests::test_rescan_and_remote_updates` on Linux (#13062) This PR disables the `project::project_tests::test_rescan_and_remote_updates` test on Linux, as we've been seeing it fail quite consistently in CI. We can re-enable it once we've had a chance to investigate and fix. Release Notes: - N/A --- crates/project/src/project_tests.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/project/src/project_tests.rs b/crates/project/src/project_tests.rs index 918c075d7694570aac4fadd84eff39659fd37361..09fdd439dd711ba397bed76eee351dbbdf4ca0fe 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();