[
https://issues.apache.org/jira/browse/LUCENE-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-2768:
--------------------------------
Attachment: LUCENE-2768_nightly.patch
patch that adds support for annotating tests with @Nightly.
you can also annotate a whole class with this (in that case, import it from
LuceneTestCase).
the only trick is that junit always requires a class to have at least one
runnable method, or it throws an exception.
in this special case that all methods or the whole class are somehow @Nightly,
we add a fake @Ignored method so we get "tests run: 0" and the NOTE instead of
this exception.
> add infrastructure for longer running nightly test cases
> --------------------------------------------------------
>
> Key: LUCENE-2768
> URL: https://issues.apache.org/jira/browse/LUCENE-2768
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Michael McCandless
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2768.patch, LUCENE-2768_nightly.patch
>
>
> I'm spinning this out of LUCENE-2762...
> The patch there adds initial infrastructure for tests to pull documents from
> a line file, and adds a longish running test case using that line file to
> test NRT.
> I'd like to see some tests run on more substantial indices based on real
> data... so this is just a start.
--
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: [email protected]
For additional commands, e-mail: [email protected]