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

Dawid Weiss commented on LUCENE-4463:
-------------------------------------

you can do:

ant test -Dtests.dups=100 -Dtestcase=XXXX -Dtestmethod=YYYY

It will respin the suite/test 100 times. The global starting seed will be 
identical for each suite though (because they have exactly the same name). If 
you want different seeds each time there is no way to do this other than 
re-running the task (junit4) 100 times using a script or something.
                
> add support for running the same test method many times
> -------------------------------------------------------
>
>                 Key: LUCENE-4463
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4463
>             Project: Lucene - Core
>          Issue Type: Wish
>          Components: general/build
>            Reporter: Robert Muir
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to