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-4463) add support for running the same test method many times
Date Fri, 05 Oct 2012 22:26:02 GMT

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

Robert Muir commented on LUCENE-4463:
-------------------------------------

Just to be clear...

It really doesnt.

I'll take the (hard to reproduce seed) from http://sierranevada.servebeer.com/job/lucene40-beaster/1327/consoleText,
and add -Dtests.iters=100 to it:

{noformat}
BUILD FAILED
/home/rmuir/workspace/lucene_solr_4_0/lucene/build.xml:49: The following error occurred while
executing this line:
/home/rmuir/workspace/lucene_solr_4_0/lucene/common-build.xml:1142: The following error occurred
while executing this line:
/home/rmuir/workspace/lucene_solr_4_0/lucene/common-build.xml:756: You are attempting to use
'tests.iters' in combination with a 'tests.method' value with does not end in a '*' -- This
combination makes no sense, because the 'tests.method' filter will be unable to match the
synthetic test names generated by the multiple iterations.

Total time: 2 seconds
{noformat}
                
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message