[
https://issues.apache.org/jira/browse/LUCENE-10155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-10155.
----------------------------------
Fix Version/s: main (9.0)
Resolution: Fixed
> Refactor TestMultiMMap into a BaseChunkedDirectoryTestCase
> ----------------------------------------------------------
>
> Key: LUCENE-10155
> URL: https://issues.apache.org/jira/browse/LUCENE-10155
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Robert Muir
> Priority: Major
> Fix For: main (9.0)
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> TestMultiMMap requests tiny chunk sizes, then tests around all the boundaries.
> But ByteBuffersDirectory is basically doing the same thing: let's factor this
> logic into a base test class that both can use?
> The new base test class just requires the concrete test to be able to
> instantiate directory with a specified chunk size, e.g.:
> {code}
> /** Creates a new directory with the specified max chunk size */
> protected abstract Directory getDirectory(Path path, int maxChunkSize)
> throws IOException;
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]