lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2676) TestIndexWriter failes for SimpleTextCodec
Date Fri, 01 Oct 2010 20:27:32 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless updated LUCENE-2676:
---------------------------------------

    Fix Version/s: 3.1

> TestIndexWriter failes for SimpleTextCodec
> ------------------------------------------
>
>                 Key: LUCENE-2676
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2676
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>            Reporter: Simon Willnauer
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>
> I just ran into this failure since SimpleText obviously takes a lot of disk space though.
> {noformat}
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
>     [junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter):
FAILED
>     [junit] writer used too much space while adding documents: mid=608162 start=5293
end=634214
>     [junit] junit.framework.AssertionFailedError: writer used too much space while adding
documents: mid=608162 start=5293 end=634214
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
>     [junit] 	at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage
-Dtests.seed=-7526585723238322940:-1609544650150801239
>     [junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestIndexWriter FAILED
> {noformat}
> I did not look into SimpleText but I guess we need either change the threshold for this
test or exclude SimpleText from it.
> any ideas?

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