From 798af67dc1d29871681e8d7bb415ae91ba0c6e30 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Mon, 17 Mar 2025 14:10:42 -0400 Subject: [PATCH] Disable the other flaky tests (#26942) I thought it might be just `test_file_status` this time, but it seems to be all four of the tests that we were previously seeing issues with. Release Notes: - N/A --- crates/worktree/src/worktree_tests.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/crates/worktree/src/worktree_tests.rs b/crates/worktree/src/worktree_tests.rs index 43b68ba081e6054bace251a87b5772406627d6f5..79f098028af36cfcdd2c72a79c4398e7a38f5cc9 100644 --- a/crates/worktree/src/worktree_tests.rs +++ b/crates/worktree/src/worktree_tests.rs @@ -845,7 +845,9 @@ async fn test_update_gitignore(cx: &mut TestAppContext) { }); } -#[gpui::test] +// TODO fix flaky test +#[allow(dead_code)] +//#[gpui::test] async fn test_write_file(cx: &mut TestAppContext) { init_test(cx); cx.executor().allow_parking(); @@ -2625,7 +2627,9 @@ async fn test_file_status(cx: &mut TestAppContext) { }); } -#[gpui::test] +// TODO fix flaky test +#[allow(unused)] +//#[gpui::test] async fn test_git_repository_status(cx: &mut TestAppContext) { init_test(cx); cx.executor().allow_parking(); @@ -2739,7 +2743,9 @@ async fn test_git_repository_status(cx: &mut TestAppContext) { }); } -#[gpui::test] +// TODO fix flaky test +#[allow(unused)] +//#[gpui::test] async fn test_git_status_postprocessing(cx: &mut TestAppContext) { init_test(cx); cx.executor().allow_parking();