Skip to content

Commit 64266c8

Browse files
committed
Auto merge of #13129 - weihanglo:ignore, r=epage
test: re-ignore git auth tests for gitoxide Happened again in <#13126 (comment)> even after #13117. Let's ignore them again and hope someday we can fix it :)
2 parents 000d279 + 7ec1367 commit 64266c8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/testsuite/git_auth.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ fn setup_failed_auth_test() -> (SocketAddr, JoinHandle<()>, Arc<AtomicUsize>) {
105105
// Tests that HTTP auth is offered from `credential.helper`.
106106
#[cargo_test]
107107
fn http_auth_offered() {
108+
// TODO: remove this once possible.
109+
// See https://github.com/rust-lang/cargo/issues/11821
110+
if cargo_uses_gitoxide() {
111+
return;
112+
}
108113
let (addr, t, connections) = setup_failed_auth_test();
109114
let p = project()
110115
.file(
@@ -368,6 +373,11 @@ Caused by:
368373

369374
#[cargo_test]
370375
fn instead_of_url_printed() {
376+
// TODO: remove this once possible.
377+
// See https://github.com/rust-lang/cargo/issues/11821
378+
if cargo_uses_gitoxide() {
379+
return;
380+
}
371381
let (addr, t, _connections) = setup_failed_auth_test();
372382
let config = paths::home().join(".gitconfig");
373383
let mut config = git2::Config::open(&config).unwrap();

0 commit comments

Comments
 (0)