lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4146) -Dtests.iters combined with -Dtestmethod never fails?
Date Fri, 15 Jun 2012 06:50:42 GMT


Dawid Weiss commented on LUCENE-4146:

Also, completing the above answer -- this issue also affects things like "re-running" a test
from Eclipse and other IDEs. If you run your suite with -Dtests.iters=5 you'll get a tree
of tests that executed, with their "unique" names that include a seed. If you click on a given
test and re-run it Eclipse will try to filter execution to that particular test (that name)
and if the seed is random (and not fixed) the chances of such a test occurring again are nearly
zero, so you'll get an empty result (no executed test).

I've tried a number of workarounds/ hacks but none of them worked well. This is really the
best of what I've tried.
> -Dtests.iters combined with -Dtestmethod never fails?
> -----------------------------------------------------
>                 Key: LUCENE-4146
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>         Attachments:, TEST-org.apache.lucene.TestSearch.iters-no-fail.xml,
> a test that is hardcoded to fail will report succes if you run it with -Dtests.iters

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message