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
This commit is contained in:
Marshall Bowers 2024-06-14 14:20:52 -04:00 committed by GitHub
parent 53f702c92f
commit 6ca09bd4ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();