Disable flaky file status test again (#26925)
Failure on an unrelated commit: https://github.com/zed-industries/zed/actions/runs/13903012863/job/38899239052 Release Notes: - N/A
This commit is contained in:
parent
7d433a30ec
commit
c2f62d261b
1 changed files with 8 additions and 1 deletions
|
@ -2430,7 +2430,9 @@ async fn test_git_repository_for_path(cx: &mut TestAppContext) {
|
||||||
// you can't rename a directory which some program has already open. This is a
|
// you can't rename a directory which some program has already open. This is a
|
||||||
// limitation of the Windows. See:
|
// limitation of the Windows. See:
|
||||||
// https://stackoverflow.com/questions/41365318/access-is-denied-when-renaming-folder
|
// https://stackoverflow.com/questions/41365318/access-is-denied-when-renaming-folder
|
||||||
#[gpui::test]
|
// TODO: re-enable flaky test.
|
||||||
|
//#[gpui::test]
|
||||||
|
#[allow(dead_code)]
|
||||||
#[cfg_attr(target_os = "windows", ignore)]
|
#[cfg_attr(target_os = "windows", ignore)]
|
||||||
async fn test_file_status(cx: &mut TestAppContext) {
|
async fn test_file_status(cx: &mut TestAppContext) {
|
||||||
init_test(cx);
|
init_test(cx);
|
||||||
|
@ -3533,6 +3535,8 @@ fn git_cherry_pick(commit: &git2::Commit<'_>, repo: &git2::Repository) {
|
||||||
repo.cherrypick(commit, None).expect("Failed to cherrypick");
|
repo.cherrypick(commit, None).expect("Failed to cherrypick");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO remove this once flaky test is fixed
|
||||||
|
#[allow(dead_code)]
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
fn git_stash(repo: &mut git2::Repository) {
|
fn git_stash(repo: &mut git2::Repository) {
|
||||||
use git2::Signature;
|
use git2::Signature;
|
||||||
|
@ -3542,6 +3546,8 @@ fn git_stash(repo: &mut git2::Repository) {
|
||||||
.expect("Failed to stash");
|
.expect("Failed to stash");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO remove this once flaky test is fixed
|
||||||
|
#[allow(dead_code)]
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
fn git_reset(offset: usize, repo: &git2::Repository) {
|
fn git_reset(offset: usize, repo: &git2::Repository) {
|
||||||
let head = repo.head().expect("Couldn't get repo head");
|
let head = repo.head().expect("Couldn't get repo head");
|
||||||
|
@ -3574,6 +3580,7 @@ fn git_checkout(name: &str, repo: &git2::Repository) {
|
||||||
repo.checkout_head(None).expect("Failed to check out head");
|
repo.checkout_head(None).expect("Failed to check out head");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO remove this once flaky test is fixed
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
fn git_status(repo: &git2::Repository) -> collections::HashMap<String, git2::Status> {
|
fn git_status(repo: &git2::Repository) -> collections::HashMap<String, git2::Status> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue