lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (SOLR-2002) improve build/tests
Date Wed, 25 Aug 2010 17:30:20 GMT


Robert Muir updated SOLR-2002:

    Attachment: SOLR-2002_testiter.patch

attached is a patch for a -Dtests.iter

This lets you easily run a test multiple times without writing a loop in the shell or whatever,
for example:
ant test -Dtestcase=TestRegexpRandom2 -Dtests.iter=3
ant test -Dtestcase=TestNumericRangeQuery32 -Dtestmethod=testInverseRange -Dtests.iter=100

its useful for random tests, but i dont recommend running ant test -Dtests.iter=2 for example,
because some tests aren't well behaved. but these can always be fixed at some later time,

> improve build/tests
> -------------------
>                 Key: SOLR-2002
>                 URL:
>             Project: Solr
>          Issue Type: Task
>          Components: Build
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>            Priority: Minor
>             Fix For: 3.1, 4.0
>         Attachments: SOLR-2002.patch, SOLR-2002_core_contrib.patch, SOLR-2002_localization.patch,
SOLR-2002_lucenetestcase.patch, SOLR-2002_replication.patch, SOLR-2002_testiter.patch, SOLR-2002_testmethod.patch,
SOLR-2002_timeout.patch, SOLR-2002setupteardown.patch
> we are working on improving some functionality in lucene's build/tests, it would be good
to improve the solr side to take advantage of it.
> currently its only sorta-kinda integrated and a bit messy.
> i'd like to do some incremental improvements piece-by-piece on this issue.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message