lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2678) TestCachingSpanFilter sometimes fails
Date Sat, 02 Oct 2010 05:28:33 GMT

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

Simon Willnauer commented on LUCENE-2678:
-----------------------------------------

awesome - thanks mike

> TestCachingSpanFilter sometimes fails
> -------------------------------------
>
>                 Key: LUCENE-2678
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2678
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Search
>            Reporter: Simon Willnauer
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>
> if I run 
> {noformat} 
> ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
-Dtests.iter=100
> {noformat} 
> I get two failures on my machine against current trunk
> {noformat} 
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.search.TestCachingSpanFilter
>     [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter):
FAILED
>     [junit] expected:<2> but was:<3>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
>     [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.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter):
FAILED
>     [junit] expected:<2> but was:<3>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
>     [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.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 100, Failures: 2, Errors: 0, Time elapsed: 2.297 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions
-Dtests.seed=5015158121350221714:-3342860915127740146
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions
-Dtests.seed=5015158121350221714:-3342860915127740146
>     [junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=43), locale=fr,
timezone=Africa/Bangui
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.search.TestCachingSpanFilter FAILED
> {noformat}
> not sure what it is but it seems likely to be a WeakRef / GC issue in the cache. 

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