@@ -343,6 +343,9 @@ def test_status_with_lfs_files(self):
343343 # Disable autocrlf to avoid line ending issues on Windows
344344 run_git_or_fail (["config" , "core.autocrlf" , "false" ], cwd = repo_dir )
345345 run_git_or_fail (["lfs" , "install" , "--local" ], cwd = repo_dir )
346+ # Disable long-running filter process to avoid cleanup issues on Windows
347+ # where lingering git-lfs filter-process daemons prevent directory removal
348+ run_git_or_fail (["config" , "--unset" , "filter.lfs.process" ], cwd = repo_dir )
346349 run_git_or_fail (["lfs" , "track" , "*.bin" ], cwd = repo_dir )
347350 run_git_or_fail (["add" , ".gitattributes" ], cwd = repo_dir )
348351 run_git_or_fail (["commit" , "-m" , "Track .bin files" ], cwd = repo_dir )
@@ -374,6 +377,9 @@ def test_status_with_modified_lfs_file(self):
374377 # Disable autocrlf to avoid line ending issues on Windows
375378 run_git_or_fail (["config" , "core.autocrlf" , "false" ], cwd = repo_dir )
376379 run_git_or_fail (["lfs" , "install" , "--local" ], cwd = repo_dir )
380+ # Disable long-running filter process to avoid cleanup issues on Windows
381+ # where lingering git-lfs filter-process daemons prevent directory removal
382+ run_git_or_fail (["config" , "--unset" , "filter.lfs.process" ], cwd = repo_dir )
377383 run_git_or_fail (["lfs" , "track" , "*.bin" ], cwd = repo_dir )
378384 run_git_or_fail (["add" , ".gitattributes" ], cwd = repo_dir )
379385 run_git_or_fail (["commit" , "-m" , "Track .bin files" ], cwd = repo_dir )
@@ -402,6 +408,9 @@ def test_status_with_multiple_lfs_files(self):
402408 # Disable autocrlf to avoid line ending issues on Windows
403409 run_git_or_fail (["config" , "core.autocrlf" , "false" ], cwd = repo_dir )
404410 run_git_or_fail (["lfs" , "install" , "--local" ], cwd = repo_dir )
411+ # Disable long-running filter process to avoid cleanup issues on Windows
412+ # where lingering git-lfs filter-process daemons prevent directory removal
413+ run_git_or_fail (["config" , "--unset" , "filter.lfs.process" ], cwd = repo_dir )
405414 run_git_or_fail (["lfs" , "track" , "*.bin" ], cwd = repo_dir )
406415 run_git_or_fail (["add" , ".gitattributes" ], cwd = repo_dir )
407416 run_git_or_fail (["commit" , "-m" , "Track .bin files" ], cwd = repo_dir )
0 commit comments