Robert Muir created LUCENE-10155:
------------------------------------

             Summary: 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


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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to