From 27b96211a2f73cb1b69f3fe82d161b8f3eac8e48 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 28 Mar 2024 13:52:17 -0500 Subject: [PATCH] Filter flake message for `install_git_public_https_missing_commit` on win32 (#2717) --- crates/uv/tests/pip_install.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs index 55a19db04..e743b9d25 100644 --- a/crates/uv/tests/pip_install.rs +++ b/crates/uv/tests/pip_install.rs @@ -1083,6 +1083,12 @@ fn install_git_public_https_missing_commit() { filters.push(("`git fetch .*`", "`git fetch [...]`")); filters.push(("exit status", "exit code")); + // There are flakes on Windows where this irrelevant error is appended + filters.push(( + "fatal: unable to write response end packet: Broken pipe\n", + "", + )); + uv_snapshot!(filters, command(&context) // 2.0.0 does not exist .arg("uv-public-pypackage @ git+https://github.com/astral-test/uv-public-pypackage@79a935a7a1a0ad6d0bdf72dce0e16cb0a24a1b3b")