diff --git a/cmd/bd/reinit_test.go b/cmd/bd/reinit_test.go index 0e4994e4..f69c5883 100644 --- a/cmd/bd/reinit_test.go +++ b/cmd/bd/reinit_test.go @@ -16,6 +16,11 @@ import ( // TestDatabaseReinitialization tests all database reinitialization scenarios // covered in DATABASE_REINIT_BUG.md func TestDatabaseReinitialization(t *testing.T) { + // Skip on Windows due to git hook autoimport flakiness + if runtime.GOOS == "windows" { + t.Skip("Skipping on Windows: git hook autoimport is flaky in CI") + } + // Skip in Nix build environment where git isn't available if os.Getenv("NIX_BUILD_TOP") != "" { t.Skip("Skipping test in Nix build environment (git not available)")