[
https://issues.apache.org/jira/browse/LUCENE-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-2739:
--------------------------------
Attachment: LUCENE-2739.patch
here's a second patch: moves the exceptions tests into
TestIndexWriterExceptions,
and the addIndexes tests into TestAddIndexes
> Refactor TestIndexWriter
> ------------------------
>
> Key: LUCENE-2739
> URL: https://issues.apache.org/jira/browse/LUCENE-2739
> Project: Lucene - Java
> Issue Type: Test
> Components: Build
> Reporter: Robert Muir
> Priority: Minor
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2739.patch, LUCENE-2739.patch
>
>
> TestIndexWriter is getting a bit unwieldy:
> * 5,315 lines of code
> * 116 test methods
> * runtimes frequently between 1 and 2 minutes.
> It starts to be pretty scary to merge changes because its so massive.
> A lot of the tests arguably belong somewhere else (e.g. the addIndex* tests
> belong in TestAddIndexes)
> But here is a start:
> # Pulls out the *OnDiskFull tests into TestIndexWriterOnDiskFull
> # Pulls out the multithreaded tests into TestIndexWriterWithThreads
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]