Filter flake message for `install_git_public_https_missing_commit` on win32 (#2717)

This commit is contained in:
Zanie Blue 2024-03-28 13:52:17 -05:00 committed by GitHub
parent b36f5d8d48
commit 27b96211a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -1083,6 +1083,12 @@ fn install_git_public_https_missing_commit() {
filters.push(("`git fetch .*`", "`git fetch [...]`")); filters.push(("`git fetch .*`", "`git fetch [...]`"));
filters.push(("exit status", "exit code")); 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) uv_snapshot!(filters, command(&context)
// 2.0.0 does not exist // 2.0.0 does not exist
.arg("uv-public-pypackage @ git+https://github.com/astral-test/uv-public-pypackage@79a935a7a1a0ad6d0bdf72dce0e16cb0a24a1b3b") .arg("uv-public-pypackage @ git+https://github.com/astral-test/uv-public-pypackage@79a935a7a1a0ad6d0bdf72dce0e16cb0a24a1b3b")