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] Commented: (LUCENE-2676) TestIndexWriter failes for SimpleTextCodec
Date Wed, 29 Sep 2010 09:57:32 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916088#action_12916088
] 

Michael McCandless commented on LUCENE-2676:
--------------------------------------------

Fun fun... yes SimpleText uses MUCH more disk space than Standard ;) 

Though, this test tries to be relative, ie it's comparing disk usage of SimpleText before
and after... I'll dig...

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