lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2739) Refactor TestIndexWriter
Date Fri, 05 Nov 2010 09:19:43 GMT

     [ 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 final patch to move termvectors-writing tests to TestTermVectorsWriter.
(sure some were really bugs in IW, but some were in TVWriter too, and i think it makes logical
sense)

i'd like to resolve the issue with this one, TestIW is about half its former self.


> 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, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message