lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Initialization error of Junit tests with solr-test-framework
Date Thu, 04 Aug 2011 15:04:31 GMT
On Thu, Aug 4, 2011 at 11:01 AM, gquaire <gquaire.pro@gmail.com> wrote:
> Thanks Mr. Muir for your reply.
>
> Do the suppression of the assert is a good solution to make the classes
> worked in the IDEs?
>
> May I create an issue or task in the Jira ?

You can create a JIRA: I don't think suppression of the assert is a
good solution here, as it will result in us not being able to
reproduce test failures:

The problem is that via ant, tests work like this (e.g. for 3 test classes):
computeTestMethods
beforeClass
afterClass
computeTestMethods
beforeClass
AfterClass
computeTestMethods
beforeClass
afterClass

but via an IDE, if you run it from a folder like you did, then it does this:
computeTestMethods
computeTestMethods
computeTestMethods
beforeClass
afterClass
beforeClass
afterClass
beforeClass
afterClass




-- 
lucidimagination.com

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


Mime
View raw message