From cb81a3fe7dad4a3298b9fdee61e4abbf1e5926e9 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Tue, 5 Dec 2023 11:24:45 -0500 Subject: [PATCH] Revert "Disable flaky tests for now (#11821)" This reverts commit c890c64080e193325584898369c729ab30994314. gix was updated to 0.41.0 (and later) a while back. Let's see how it goes. --- tests/testsuite/git_auth.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/testsuite/git_auth.rs b/tests/testsuite/git_auth.rs index b6e68fa3d88..c79ae7ce04f 100644 --- a/tests/testsuite/git_auth.rs +++ b/tests/testsuite/git_auth.rs @@ -105,11 +105,6 @@ fn setup_failed_auth_test() -> (SocketAddr, JoinHandle<()>, Arc) { // Tests that HTTP auth is offered from `credential.helper`. #[cargo_test] fn http_auth_offered() { - // TODO(Seb): remove this once possible. - if cargo_uses_gitoxide() { - // Without the fixes in https://github.com/Byron/gitoxide/releases/tag/gix-v0.41.0 this test is flaky. - return; - } let (addr, t, connections) = setup_failed_auth_test(); let p = project() .file( @@ -372,11 +367,6 @@ Caused by: #[cargo_test] fn instead_of_url_printed() { - // TODO(Seb): remove this once possible. - if cargo_uses_gitoxide() { - // Without the fixes in https://github.com/Byron/gitoxide/releases/tag/gix-v0.41.0 this test is flaky. - return; - } let (addr, t, _connections) = setup_failed_auth_test(); let config = paths::home().join(".gitconfig"); let mut config = git2::Config::open(&config).unwrap();