You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MockDirectoryWrapper leak-gate test for MMap slice/clone paths
Wraps a real MMapDirectory in MockDirectoryWrapper and exercises the
root input, slicer, and slice disposal paths. On dispose the wrapper
throws "cannot close: there are still open files" if any directly-opened
input/slicer/slice was not disposed, so this gates the MMap-specific
disposal paths end to end (TestRandomChunkSizes already covers the
OpenInput-via-IndexWriter path). Documents that clones are not tracked
by upstream MockDirectoryWrapper and that this gate is at the IndexInput
level, distinct from the FileStream-disposal seam test.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments