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] [Created] (LUCENE-4469) many Test2B* tests appear to be useless
Date Tue, 09 Oct 2012 17:28:03 GMT
Robert Muir created LUCENE-4469:
-----------------------------------

             Summary: many Test2B* tests appear to be useless
                 Key: LUCENE-4469
                 URL: https://issues.apache.org/jira/browse/LUCENE-4469
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


for some reason (I guess debugging) these explicitly disable checkindex on MDW and call checkindex
themselves.

but they dont check its return value!

So these tests could currently all be failing and we wouldnt know (since If i remember right,
checkindex catches throwable and records it inside its status)

These tests should be changed to just let MDW run the checkindex, or use _TestUtil.checkIndex.

We should also search the codebase for any other tests doing this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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