diff --git a/initialization/migrate_metadata_test.go b/initialization/migrate_metadata_test.go index 4b6b6eae1..8d41d25e1 100644 --- a/initialization/migrate_metadata_test.go +++ b/initialization/migrate_metadata_test.go @@ -49,6 +49,7 @@ func Fuzz_MigrateMetadata(f *testing.F) { } require.NoError(t, json.NewEncoder(f).Encode(old)) + require.NoError(t, f.Close()) log := zaptest.NewLogger(t) require.NoError(t, MigratePoST(path, log))