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] [Commented] (LUCENE-4211) in LuceneTestCase.maybeWrapReader: add an asserting impl
Date Fri, 13 Jul 2012 13:47:34 GMT

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

Robert Muir commented on LUCENE-4211:
-------------------------------------

Just as i say that:
{noformat}
ant test  -Dtestcase=TestFieldMaskingSpanQuery -Dtests.method=testNoop1 -Dtests.seed=4BB0E091C1580FE4
-Dtests.slow=true -Dtests.locale=pt_PT -Dtests.timezone=Europe/Samara -Dtests.file.encoding=US-ASCII
ant test  -Dtestcase=TestSloppyPhraseQuery -Dtests.method=testInfiniteFreq2 -Dtests.seed=4BB0E091C1580FE4
-Dtests.slow=true -Dtests.locale=uk -Dtests.timezone=Europe/Belfast -Dtests.file.encoding=US-ASCII
ant test  -Dtestcase=TestSpanExplanations -Dtests.method=testSNear8 -Dtests.seed=4BB0E091C1580FE4
-Dtests.slow=true -Dtests.locale=es_VE -Dtests.timezone=Asia/Dhaka -Dtests.file.encoding=US-ASCII
ant test  -Dtestcase=TestSimpleExplanations -Dtests.method=testMultiFieldBQofPQ4 -Dtests.seed=4BB0E091C1580FE4
-Dtests.slow=true -Dtests.locale=ar_IQ -Dtests.timezone=Asia/Kuwait -Dtests.file.encoding=US-ASCII
...
{noformat}

With the latest patch. So something is up with MultiDocsAndPositionsEnum, or we have a bug
depending on the reader chain...
                
> in LuceneTestCase.maybeWrapReader: add an asserting impl
> --------------------------------------------------------
>
>                 Key: LUCENE-4211
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4211
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/test
>            Reporter: Robert Muir
>         Attachments: LUCENE-4211.patch, LUCENE-4211.patch, LUCENE-4211.patch, LUCENE-4211.patch,
LUCENE-4211.patch, LUCENE-4211.patch, LUCENE-4211.patch, LUCENE-4211.patch
>
>
> It would be nice to wrap with FIR here sometimes,
> one that returns AssertingFields, etc etc.
> This way we could check if consumers are doing bogus things (like reading nextDoc after
it returned NO_MORE_DOCS, or TermsEnum.next after its exhausted, or things like that).
> This would also be nice to catch tests that do this rather than doing
> crazy debugging over whats not really a bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message