[ https://issues.apache.org/jira/browse/LUCENE-4146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295489#comment-13295489 ]
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: https://issues.apache.org/jira/browse/LUCENE-4146 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Hoss Man > Attachments: LUCENE-4146.fail.patch, > TEST-org.apache.lucene.TestSearch.iters-no-fail.xml, > TEST-org.apache.lucene.TestSearch.no-iters-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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org