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-4463) Add support for running the same test method/class many times with different class seeds
Date Sat, 06 Oct 2012 12:59:03 GMT

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

Michael McCandless commented on LUCENE-4463:
--------------------------------------------

bq. Yeah, I'm sure Mike will stick to his SSH scripts though

Not if we had an efficient way to distribute tests across N JVMs running on M machines from
a single queue.

One big problem w/ runRemoteTests.py is it does CLASSPATH pollution, ie the CLASSPATH it runs
with is the union of all CLASSPATHs for all tests ... this is bad because then it fails to
catch dependency problems, or cases when module X shouldn't use module Y but does.  This also
causes certain tests to false fail ...
                
> Add support for running the same test method/class many times with different class seeds
> ----------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4463
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4463
>             Project: Lucene - Core
>          Issue Type: Wish
>          Components: general/build
>            Reporter: Robert Muir
>            Assignee: Dawid Weiss
>         Attachments: LUCENE-4463.patch
>
>
> I have a shell script for this, mike has a python script, its annoying :)
> I want to do something like this:
> ant beast -Dtestcase=XXXX -Dtestmethod=YYYY -Diterations=100
> I would be happy with a simple loop that just invokes 'test' somehow: getting a fresh
new JVM to each iteration is desirable anyway (so you get fresh codecs, etc). 
> the -Dtests.iters is not really useful for this because it does not allow -Dtestmethod
and it does not give a fresh jvm.
> bonus points if it can use multiple jvms at the same time though :)

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